Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples"<string>"Calculates shipping for the cart.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v1/calculate/shipping \
--header 'Content-Type: application/json' \
--data '
{
"country": "<string>",
"state": "<string>",
"city": "<string>",
"postcode": "<string>",
"return_methods": false
}
'"<string>"Shipping calculated successfully.
Was this page helpful?