palbaseDocs

Palbase Commerce & Promotions · API

POST/promotions/redemptions/{redemption_id}/reverse

Reverse committed promotion redemption on refund/cancel

Reverse committed promotion redemption on refund/cancel

Called by your server, with the project's secret key.

Path

redemption_idstring · requiredPath parameter redemption_id.
curl
curl -X POST "https://<your-ref>.palbase.studio/promotions/redemptions/<redemption_id>/reverse" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Reverse committed promotion redemption on refund/cancel

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation ReversePromotionRedemption of commerce's contract.