Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request DELETE \ --url {protocol}://{host}/wp-json/cocart/v2/sessions/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "deleted": true }
Deletes a specific cart session by session key.
A valid request URL is required to generate request examples
Basic authentication with username and password.
Unique session key for the cart session.
Cart session deleted successfully.
true
Was this page helpful?