POST
/
cart
/
getCoupon
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

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

Response

200
application/json

Successfully retrieved coupon details.

The response is of type object.