POST
/
cart
/
acceptCoupon
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/acceptCoupon \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "coupon": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "percent": 123,
  "amount": 123,
  "sum": 123,
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successfully applied the coupon or gift card.

The response is of type object.