Menu
Update Shipping Zone Method
This API helps you to update a shipping zone method.
PUT
/shipping/zones/{id}/methods/{instanceId}Use it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Update Shipping Zone Method action (under Shipping zones).
- Fill in the fields below, then reference the result from later steps as
{{updateShippingZoneMethod.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": 0,
"instance_id": 0,
"title": "string",
"order": 0,
"enabled": false,
"method_id": "string",
"method_title": "string",
"method_description": "string",
"settings": {}
}
Response
Returns 200 with an object. Read it in later steps with {{updateShippingZoneMethod.response.data.<field>}}.
{
"id": 0,
"instance_id": 0,
"title": "string",
"order": 0,
"enabled": false,
"method_id": "string",
"method_title": "string",
"method_description": "string",
"settings": {}
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?