This documentation is a Work in Progress. There maybe content unfinished. Feedback is welcome.
cURL
curl --request POST \ --url {protocol}://{host}/wp-json/cocart/v1/shipping-methods \ --header 'Content-Type: application/json' \ --data '{ "key": "<string>", "recurring_cart_key": "<string>" }'
true
Sets a shipping method for the cart.
Shipping method set successfully.
The response is of type boolean.
boolean
Was this page helpful?