Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples
{ "message": "<string>" }
Removes all items from the customer’s cart.
cURL
curl --request POST \ --url {protocol}://{host}/wp-json/cocart/v1/clear
Cart cleared successfully.
Message indicating the result of clearing the cart.
Was this page helpful?