Skip to main content
DELETE
/
v1
/
discounts
/
{id}
Delete discount
curl --request DELETE \
  --url https://api.quentli.com/v1/discounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Path Parameters

id
string
required

Identifier of the discount.

Response

Discount deleted

Result of the discount deletion.

success
boolean
required

Whether the discount was successfully deleted.

Example:

true