Skip to main content
DELETE
/
v1
/
coupons
/
{id}
Delete
curl --request DELETE \
  --url https://{defaultHost}/v1/coupons/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ac051c3c-0121-4a40-80b1-dc04c8fed79c",
  "object": "coupon",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

deleted
boolean

Whether or not this object was succesfully deleted.