Delete A Cart Or A Cart Item

DELETE
/v1beta/:cart_id/items/:item_id

You can remove item from cart using this API.

Request parameters

ATTRIBUTETYPEDESCRIPTION
cart_id*string

Unique cart identifier

item_id*string

Unique item identifier

Sample Request

curl -X DELETE "https://graph.whisk.com/v1beta/7db042ed5cf5448581da768b5490ecd1/items/898003be304e49b084ac6224adc7ff53" \ -H "Accept: application/json" \ -H "Authorization: Token <Access-Token>"

Response

ATTRIBUTETYPEDESCRIPTION
okboolean

The operation success state

Sample Response

{ "ok": true }