Coupons
Coupon Data
Returns details about the coupon currently applied to the user’s cart, including type and discount amount or percentage.
POST
/
cart
/
getCoupon
Authorizations
Authorization
string
headerrequiredBearer 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.