Delete a discount
Learn how to delete discounts through the Developer Center or API
If you need to delete a discount, you can do so anytime through the Developer Center or the API. You can delete both active and inactive discounts, but keep in mind that deleting an active discount will immediately remove it for any customers currently using it.

Delete a discount through the Developer Center
How to delete a discount
Developer Center
- Open the Developer Center.
- Click Monetization in the left-side menu.
- Select Discounts to see a full list of your discounts.
- Click the trash can icon next to the discount you want to delete.
- Select Confirm to finalize the deletion.
API
To delete a discount using the API, use the delete_marketplace_app_discount
mutation:
mutation {
delete_marketplace_app_discount (
account_slug: "Test",
app_id: 123456
) {
deleted_discount {
account_slug
app_id
}
}
}
Updated 4 days ago
Did this page help you?