Validate coupon code
Validates a coupon code for the brand and returns its discount details.
Authorizations
Your brand's secret API key, e.g. Bearer way_sk_live_bhEqcn0i1fRoUEHBPjJkQA. Older Way-Brand-Id + Way-Secret-Key credentials still work: see Legacy authentication.
Path Parameters
The brand's ID - must match the brand your API key identifies (or the Way-Brand-Id header when one is sent).
The coupon code to validate, as entered by the guest.
Body
The body is of type object.
Response
Validate coupon code.
The unique identifier of the coupon.
"coupon-123"
The coupon code.
"DISCOUNT50"
The type of the coupon.
"percentage"
The discount type.
"fixed_amount"
The value of the discount.
50
List of experience IDs associated with the coupon.