Documentation is still being updated. Some content maybe unfinished.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/shipping-methods{
"key": "<string>",
"method_id": "<string>",
"instance_id": 123,
"label": "<string>",
"cost": 123,
"html": "<string>",
"taxes": {},
"chosen_method": true
}Gets available shipping methods for the cart.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/shipping-methods{
"key": "<string>",
"method_id": "<string>",
"instance_id": 123,
"label": "<string>",
"cost": 123,
"html": "<string>",
"taxes": {},
"chosen_method": true
}Was this page helpful?