Redeem Promotion Code
Redeem a promotion code (increment redemption count).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Headers
Idempotency-Key
A unique key for this request. A retry with the same key returns the first response instead of running again, for 24 hours. Keys are per caller.
Request
This endpoint expects an object.
code
The promotion code to redeem
customer_id
Customer applying the code (for validation)
order_amount
Order amount for minimum validation
order_currency
Order currency
Response
Successful Response
id
coupon_id
code
active
max_redemptions
times_redeemed
expires_at
restrictions
metadata
created_at
updated_at
Errors
422
Unprocessable Entity Error