Skip to main content

Update a Promotion

PUT 

/v2/promotions/:promotionID

Use this endpoint to update a specific promotion.

note

You can re-enable an expired promotion by updating the end date to a future date. However, when you enable a promotion again, all codes previously attached to it are deleted to make sure that duplicate promotion codes do not exist on different promotions.

Errors

When extending the end date of an expired promotion with over 1000 codes, you will receive the following error response. In such cases, we recommend duplicating the promotion, allowing you to set the new end dates and create promotion codes as needed.

{
"errors": [
{
"status": 422,
"source": "request",
"title": "Unprocessable Entity",
"detail": ""
}
]
}

Request

Responses

Response Headers