Skip to main content
POST
/
cart
/
getCoupon
Retrieve the current coupon applied to the user's cart
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/getCoupon \
  --header 'Authorization: Bearer <token>'
{
  "type": "percent",
  "percent": 10,
  "amount": 5,
  "coupon": "SUMMER2024"
}

Authorizations

Authorization
string
header
required

Response

type
enum<string>
Available options:
percent,
amount
percent
number
Example:
amount
number
Example:
coupon
string
Example: