younifyd
Menu

Delete Shipping Zone By Id

This API helps you delete a shipping zone.

DELETE/shipping/zones/{id}

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Delete Shipping Zone By Id action (under Shipping zones).
  3. Fill in the fields below, then reference the result from later steps as {{deleteShippingZoneById.response.data}}.

Request

Path parameters

idintegerrequired

ID of shipping zone to delete

Query parameters

forcebooleanrequired

Required to be true, as resource does not support trashing.

Default true

Response

Returns 200 with an object. Read it in later steps with {{deleteShippingZoneById.response.data.<field>}}.

idinteger

Unique identifier for the resource. read-only

namestring

Shipping zone name. mandatory

orderinteger

Shipping zone order.

_linksobject

List of links.

selfarray<object>1 fields
collectionarray<object>1 fields
json
{
  "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.