POST
/
cart
/
getCoupon

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
type
enum<string>

Type of the coupon ('percent' or 'amount').

Available options:
percent,
amount
percent
number

Discount percentage if the coupon is of type 'percent'. Only present if 'type' is 'percent'.

amount
number

Discount amount if the coupon is of type 'amount'. Only present if 'type' is 'amount'.

coupon
string

The name of the applied coupon.