Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples
true
Sets a shipping method for the cart.
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>" } '
Shipping method key.
Recurring cart key for subscription shipping methods.
Shipping method set successfully.
The response is of type boolean.
boolean
Was this page helpful?