Delete Multiple Promotion Codes
DELETE/v2/promotions/:promotionID/codes
Use this endpoint to delete multiple promotion codes within a specific promotion.
Request
Path Parameters
promotionID stringrequired
The ID of the promotion associated with the codes.
Header Parameters
Authorization Bearerrequired
The Bearer token required to get access to the API.
Responses
- 204
- 401
- 404
No Content
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"detail": "promotion not found",
"status": 404,
"title": "Not Found"
}
}
Loading...