POST
/
cart
/
removeCoupon
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/removeCoupon \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Coupon was successfully removed!",
  "percent": 0,
  "type": "coupon"
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Successfully removed the coupon.
status
boolean

Indicates the operation was successful.

Example:

true

message
string

Confirmation message for the coupon removal.

Example:

"Coupon was successfully removed!"

percent
number

Always 0 if the coupon was removed.

Example:

0

type
string

Type of the discount applied (in this case, always 'coupon').

Example:

"coupon"