Developers
ReferencePromo codes

Delete a promo code

Delete a promo code. Orders that used it keep their discount.

DELETE
/promocodes/{id}

Delete a promo code. Orders that used it keep their discount.

Authorization

http
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/promocodes/string"
{  "id": "string",  "object": "promocode",  "deleted": true}