Menu
Create Shipping Zone
This API helps you to create a new shipping zone.
POST
/shipping/zonesUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Create Shipping Zone action (under Shipping zones).
- Fill in the fields below, then reference the result from later steps as
{{createShippingZone.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"id": 0,
"name": "string",
"order": 0,
"_links": {
"self": [
{
"href": "string"
}
],
"collection": [
{
"href": "string"
}
]
}
}
Response
Returns 201 with an object. Read it in later steps with {{createShippingZone.response.data.<field>}}.
{
"id": 0,
"name": "string",
"order": 0,
"_links": {
"self": [
{
"href": "string"
}
],
"collection": [
{
"href": "string"
}
]
}
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?