latestOpenAPI 3.1.12026-08-108026304.2 KB
7b222e8ec91c
Discount codes
Delete a discount
Delete a discount. This action is irreversible. The discount will be permanently removed.
delete/v1/discounts/{discount_id}
Path parameters
discount_idstring required
The unique identifier for the existing discount
Response
Successfully deleted the given discount
Example response
{
"id": "di_123",
"object": "discount"
}