Documentation is still being updated. Some content maybe unfinished.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v1/logouttrueLogs out the customer and clears their session.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v1/logouttrueCustomer logged out successfully.
The response is of type boolean.
true
Was this page helpful?