Palbase Commerce & Promotions · API
DELETE
/promotions/codes/{code_id}Revoke promotion code
Revoke promotion code
Called by your server, with the project's secret key.
Path
code_idstring · requiredPath parameter code_id.curl
curl -X DELETE "https://<your-ref>.palbase.studio/promotions/codes/<code_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Revoke promotion code
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation RevokePromotionCode of commerce's contract.