Skip to main content
POST
Retrieve the current coupon applied to the user's cart

Authorizations

Authorization
string
header
required

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

Response

Successfully retrieved coupon details.

type
enum<string>

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

Available options:
percent,
amount
percent
number<float>

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

Example:

10

amount
number<float>

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

Example:

5

coupon
string

The name of the applied coupon.

Example:

"SUMMER2024"