v1

latestOpenAPI 3.0.12026-08-062532117.6 KB

Delete a promotional code

Permanently deletes a promotional code. Any customer who tries to use it at checkout after this will be rejected. Sales already recorded against the code keep their history.

This cannot be undone — set active to false with Update a Promotional Code if you only want to stop new redemptions. Fires the promotional_code.deleted webhook.

delete/promotional-codes

Request body

promotionalCodeIdstring uuid required

The promotional code ID to delete

Response

The promotional code was deleted.

messagestring

Confirmation message