POST
/
cart
/
removeGiftcard
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/removeGiftcard \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Gift Card was successfully removed!",
  "sum": 0,
  "type": "gift"
}

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 gift card.
status
boolean

Indicates the operation was successful.

Example:

true

message
string

Confirmation message for the gift card removal.

Example:

"Gift Card was successfully removed!"

sum
number

The remaining balance on the gift card after removal (always 0 in this case).

Example:

0

type
string

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

Example:

"gift"