Delete Discount
Discounts
Delete Discount
Delete a discount code
DELETE
Delete Discount
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Delete Discount
Permanently deletes a discount code. This action cannot be undone.Request
Path Parameters
The unique discount ID to delete
Response
Whether the request succeeded
Confirmation object
Example Response
Notes
- Historical order records will retain the discount information for completed orders
- Consider setting
status: "disabled"instead if you need to preserve discount history - Customer carts with this discount code will no longer apply the discount at checkout
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_discounts scope |
NOT_FOUND | Discount with the specified ID does not exist |