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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Type of the coupon ('percent' or 'amount').
Available options:
percent
, amount
Discount percentage if the coupon is of type 'percent'. Only present if 'type' is 'percent'.
Discount amount if the coupon is of type 'amount'. Only present if 'type' is 'amount'.
The name of the applied coupon.