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

Changes

No recorded changes to this endpoint across all 1 revision of this API.