Documentation is still being updated. Some content maybe unfinished.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/count-items"5"Returns the count of items in the customer’s cart.
A valid request URL is required to generate request examples"5"Cart item count retrieved successfully.
Numeric count as string when cart has items
"5"
Was this page helpful?