Documentation is still being updated. Some content maybe unfinished.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/totals/total"<string>"Gets the total amount for the cart.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/totals/total"<string>"Cart total retrieved successfully.
The response is of type string.
Was this page helpful?