Skip to main content
POST
/
cart
/
acceptCoupon
Apply a coupon or gift card to the user's cart
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

Body

application/json
coupon
string
required
Maximum length: 40

Response

success
boolean
message
string
percent
number
amount
number
sum
number
type
string