This documentation is a Work in Progress. There maybe content unfinished. Feedback is welcome.
"5"
Returns the count of items in the customer’s cart.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/count-items
"5"
Cart item count retrieved successfully.
Numeric count as string when cart has items
"5"
Was this page helpful?