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