younifyd
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

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

Request

Path parameters

idintegerrequired

ID of shipping zone

instanceIdintegerrequired

Instance ID of shipping zone method to update

Request body

Enter the body as JSON in the step's Body 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": {}
}

Response

Returns 200 with an object. Read it in later steps with {{updateShippingZoneMethod.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.