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

Delete a discount through the Developer Center

How to delete a discount

Developer Center

  1. Open the Developer Center.
  2. Click Monetization in the left-side menu.
  3. Select Discounts to see a full list of your discounts.
  4. Click the trash can icon next to the discount you want to delete.
  5. 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 } } }

Did this page help you?