Skip to main content
POST
Validate coupon code

Authorizations

Authorization
string
header
required

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

brandId
string
required

The brand's ID - must match the brand your API key identifies (or the Way-Brand-Id header when one is sent).

couponCode
string
required

The coupon code to validate, as entered by the guest.

Body

application/json

The body is of type object.

Response

201 - application/json

Validate coupon code.

id
string
required

The unique identifier of the coupon.

Example:

"coupon-123"

code
string
required

The coupon code.

Example:

"DISCOUNT50"

type
string
required

The type of the coupon.

Example:

"percentage"

discountType
string
required

The discount type.

Example:

"fixed_amount"

value
number
required

The value of the discount.

Example:

50

experienceIds
string[]

List of experience IDs associated with the coupon.

Example: