comecerodocs

Delete a promotion

DELETE
/promotions/{promotion_id}

Deletes a promotion for good. Its code stops working at once. To stop a promotion and keep its history, update it with active: false instead. Secret and trusted tokens may call it.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

promotion_id*string

The promotion id.

Response Body

The promotion is deleted. No body.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/promotions/string'
Example Response
Empty