DELETE
/
v3
/
carts
/
{cartId}
/
cards
/
{cardId}
Remove Card from Cart
curl --request DELETE \
  --url https://sandbox-api.cardcash.com/v3/v3/carts/{cartId}/cards/{cardId} \
  --header 'Authorization: Bearer <token>'

Overview

Removes a specific card (all quantity) from the cart and releases the reserved inventory.

Request

Path Parameters

ParameterTypeRequiredDescription
cartIdstringYesCart UUID
cardIdstringYesCard UUID within the cart
curl -X DELETE https://sandbox-api.cardcash.com/v3/carts/CART_ID/cards/CARD_ID \
  -H "x-cc-app: YOUR_APP_ID" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

Returns the full updated cart object with the card removed:
{
  "cartId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "cards": [],
  "couponData": null
}

Notes

  • This removes all quantity of the specified card
  • Reserved inventory is released back to the pool
  • To reduce quantity without removing entirely, use Update Card with a negative qty