Coupons
Coupon Data
Returns details about the coupon currently applied to the user’s cart, including type and discount amount or percentage.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successfully retrieved coupon details.
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'.
Example:
10
Discount amount if the coupon is of type 'amount'. Only present if 'type' is 'amount'.
Example:
5
The name of the applied coupon.
Example:
"SUMMER2024"