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