Skip to main content

Delete a Single Promotion Code

DELETE Delete a Single Promotion Code

https://useast.api.elasticpath.com/v2/rule-promotions/:promotionID/codes/:code

Parameters

Path parameters

NameRequiredTypeDescription
promotionIDRequiredstringThe unique identifier of the rule promotion.
codeRequiredstringThe code that you want to delete.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Example

curl https://useast.api.elasticpath.com/v2/rule-promotions/:promotionID/codes/:code \
-H "Authorization: Bearer XXXX" \
-H "Content-Type: application/json" \

Response Example

204 No Content