POST
/
cart
/
getCoupon

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
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.

percent
number

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

type
enum<string>

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

Available options:
percent,
amount