younifyd
Menu

Delete Shipping Zone Method By Id

This API helps you delete a shipping zone method.

DELETE/shipping/zones/{id}/methods/{instanceId}

Use it in a workflow

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

Request

Path parameters

idintegerrequired

ID of shipping zone

instanceIdintegerrequired

Instance ID of shipping zone method 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 {{deleteShippingZoneMethodById.response.data.<field>}}.

idinteger

Method ID. read-only

instance_idinteger

Instance ID. read-only

titlestring

Shipping method title.

orderinteger

Shipping method sort order.

enabledboolean

Shipping method enabled status.

method_idstring

Shipping method ID.

method_titlestring

Shipping method title. read-only

method_descriptionstring

Shipping method description. read-only

settingsobject

Shipping method settings.

json
{
  "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.

Delete Shipping Zone Method By Id — WooCommerce — Documentation