docs
  1. Admin Api
  2. Resources
  3. Promotions
  4. Promotion Codes
  5. Delete Promotion Codes

Delete promotion codes

Delete all or specific promotion Codes of a Promotion

Path Parameters

ParameterDetails
promotionId
  • required
  • MinLength: 24
  • MaxLength: 24
string
Example:
645e0c241a93369ff53f26e0

Query Parameters

ParameterDetails
promotionCodes
Array of strings
Example:
?promotionCodes=BF24,XMAS24
string
  • MinLength: 2
  • MaxLength: 30

Responses

204
Promotion codes successfully deleted.
Success
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
DELETE/promotions/{promotionId}/codes

Request samples

Last updated: February 17, 2025

Provide Feedback