Giftcards
Remove Giftcard
Removes the gift card from the user’s cart and updates the gift card’s balance accordingly.
POST
/
cart
/
removeGiftcard
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
status
boolean
Indicates the operation was successful.
message
string
Confirmation message for the gift card removal.
sum
number
The remaining balance on the gift card after removal (always 0 in this case).
type
string
Type of the discount applied (in this case, always 'gift').