Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request DELETE \ --url {protocol}://{host}/wp-json/cocart/v1/item
{ "removed": true }
Removes a specific item from the customer’s cart.
A valid request URL is required to generate request examples
Unique identifier for the item in the cart.
Returns the whole cart to reduce API requests.
Cart item removed successfully.
true
Was this page helpful?