curl --request DELETE \
--url https://api.quentli.com/v1/discounts/{id} \
--header 'Authorization: Bearer <token>'{
"success": true
}Deletes a discount and all associated discount codes.
curl --request DELETE \
--url https://api.quentli.com/v1/discounts/{id} \
--header 'Authorization: Bearer <token>'{
"success": true
}Organization API key using Authorization: Bearer sk_....
Identifier of the discount.
Discount deleted
Result of the discount deletion.
Whether the discount was successfully deleted.
true
Was this page helpful?