Skip to main content
DELETE
Delete Discount

Delete Discount

Permanently deletes a discount code. This action cannot be undone.

Request

Path Parameters

string
required
The unique discount ID to delete

Response

Returns the standard response envelope confirming deletion.
integer
HTTP status code
string
Result state, e.g. success
string
Human-readable confirmation message
object
Not populated for this endpoint

Example Response

Notes

  • Historical order records will retain the discount information for completed orders
  • Consider setting the discount status to Inactive instead if you need to preserve discount history
  • Customer carts with this discount code will no longer apply the discount at checkout

Errors

On failure the same envelope is returned with state: "error" and a message: