# Delivery methods · Management API

> Management API reference for delivery methods: POST /sites/{id}/delivery-methods, PUT /sites/{id}/delivery-methods/order, PATCH /sites/{id}/delivery-methods/{methodId}, DELETE /sites/{id}/delivery-methods/{methodId}.

> Markdown version of https://kanorio.com/en/developers/management-api/delivery_methods. Append `.md` to any developer docs URL for this format. Index: https://kanorio.com/llms.txt · MCP: https://app.kanorio.com/api/mcp

Base URL: `https://app.kanorio.com/api/v1` · [Errors](https://kanorio.com/en/developers/basics/errors) · [Pagination](https://kanorio.com/en/developers/basics/pagination)

### Create a delivery method

`POST /sites/{id}/delivery-methods`

- Stability: beta
- Permission: `fulfillment:manage`
- Rate limit: default (120/minute per token)
- Idempotent: send `Idempotency-Key`
- MCP tool: `delivery_methods_create`

Add a custom delivery method the store runs itself (meetup, pickup at a shop, own delivery). It gets a shipping option in every shipping profile, offered and priced at amount; adjust other profiles with shipping_options.update. Carriers cannot be added here: the owner sets them up in the console. Send an Idempotency-Key header (idempotencyKey over MCP) so a retry does not add a second method. Errors: FORBIDDEN, VALIDATION.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Website id. Get it from sites.list or from sites.create. |
| `Idempotency-Key` | header | string | no | Client-chosen key (1-200 chars). Retrying with the same key and the same body returns the original result; the same key with a different body is rejected with IDEMPOTENCY_CONFLICT (409). Keys expire after 24 hours. |

**Request body**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `label` | string | yes | Name buyers see at checkout. |
| `description` | string | no | Shown under the name, e.g. when and where to meet. |
| `requiresAddress` | boolean | no | Whether buyers enter a delivery address; default true. Use false for meetups and pickups. |
| `amount` | integer | yes | Price per order in minor units of the store currency (shipping.get_settings → currency); 0 for free. |
| `freeShippingThreshold` | integer | no | Free when the discounted merchandise subtotal reaches this amount; omit or 0 for none. |

**Response** (201)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string \| null | yes | Currency of the default market. |
| `methods` | object[] | yes | — |
| `methods[].id` | string | yes | Also the option id buyers pick at checkout. |
| `methods[].kind` | "CARRIER" \| "CUSTOM" | yes | CARRIER: a carrier such as 7-ELEVEN or Black Cat, booked through a logistics provider. CUSTOM: a method the store runs itself (meetup, pickup, own delivery). |
| `methods[].carrierCode` | string \| null | yes | — |
| `methods[].deliveryMethod` | string \| null | yes | Delivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>. |
| `methods[].provider` | string \| null | yes | Logistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet. |
| `methods[].label` | string \| null | yes | Name of a custom method; null on a preset (meetup, local pickup) follows the site language. |
| `methods[].description` | string \| null | yes | — |
| `methods[].presetKey` | string \| null | yes | meetup or local-pickup for the built-in custom methods. |
| `methods[].requiresAddress` | boolean | yes | Whether buyers enter a delivery address. |
| `methods[].enabled` | boolean | yes | Shown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive. |
| `methods[].checkoutOrder` | integer | yes | Position at checkout, lowest first. |
| `methods[].availability` | "AVAILABLE" \| "NOT_ACTIVATED" \| "PAYMENT_SUSPENDED" | yes | CARRIER only: NOT_ACTIVATED until the owner finishes the carrier setup in the console; PAYMENT_SUSPENDED while the payment account the carrier depends on cannot take payments. Custom methods are always AVAILABLE. |
| `methods[].pricing` | "PACKAGE" \| "FLAT" | yes | PACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit. |
| `methods[].specs` | object[] | yes | Package sizes this carrier can price (PACKAGE pricing). |
| `methods[].specs[].specCode` | string | yes | Package size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices. |
| `methods[].specs[].temperatureZone` | string | yes | ambient, chilled or frozen. |
| `methods[].specs[].maxDimensionSum` | integer \| null | yes | Largest length + width + height in cm. |
| `methods[].specs[].maxEdge` | integer \| null | yes | Longest side in cm. |
| `methods[].specs[].maxWeightGrams` | integer \| null | yes | — |
| `methods[].specs[].referenceCost` | integer \| null | yes | What the carrier charges the store, in minor units; a suggestion for the price. |
| `methods[].updatedAt` | string | yes | — |
| `profiles` | object[] | yes | — |
| `profiles[].id` | string | yes | — |
| `profiles[].name` | string \| null | yes | null for the default profile (shown in the store's language). |
| `profiles[].isDefault` | boolean | yes | Products without a profile use the default profile. It cannot be renamed or deleted. |
| `profiles[].productCount` | integer | yes | Products and variants assigned to this profile. |
| `zones` | object[] | yes | — |
| `zones[].id` | string | yes | — |
| `zones[].name` | string | yes | — |
| `zones[].countries` | string[] | yes | ISO 3166-1 alpha-2; empty = any country. |
| `zones[].regions` | string[] | yes | — |
| `zones[].postalCodePrefixes` | string[] | yes | — |
| `zones[].isDefault` | boolean | yes | — |
| `options` | object[] | yes | One per delivery method × shipping profile × zone × market. |
| `options[].id` | string | yes | — |
| `options[].methodId` | string | yes | — |
| `options[].profileId` | string | yes | — |
| `options[].zoneId` | string | yes | — |
| `options[].marketId` | string | yes | — |
| `options[].isActive` | boolean | yes | Whether products in this shipping profile can use this method. Always true in the default profile. |
| `options[].currency` | string | yes | Currency of every amount on this option (the market currency). |
| `options[].amount` | integer | yes | FLAT pricing: price per order, minor units. |
| `options[].additionalItemAmount` | integer | yes | FLAT pricing: added for each unit after the first, minor units. |
| `options[].freeShippingThreshold` | integer | yes | Free shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping. |
| `options[].specPrices` | object[] | yes | PACKAGE pricing: price per package size. A size without a price is not offered. |
| `options[].specPrices[].specCode` | string | yes | — |
| `options[].specPrices[].amount` | integer | yes | Price per package, minor units. |
| `options[].specPrices[].activated` | boolean | yes | false while the carrier is not set up for this temperature; buyers do not see it yet. |
| `options[].updatedAt` | string | yes | Send it back as expectedUpdatedAt in shipping_options.update. |
| `methodId` | string | yes | The delivery method just added. |

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `FORBIDDEN` | 403 | — |
| `VALIDATION` | 400 | — |

```bash
curl -X POST "https://app.kanorio.com/api/v1/sites/{id}/delivery-methods" \
  -H "Authorization: Bearer $KANORIO_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"label":"Meetup at Taipei Main Station","description":"Fridays 18:00–20:00","requiresAddress":false,"amount":0}'
```

```json
{
  "currency": "twd",
  "methods": [
    {
      "id": "dm_example01",
      "kind": "CARRIER",
      "carrierCode": "unimart",
      "deliveryMethod": "cvs-pickup",
      "provider": "PAYUNI_LOGISTICS",
      "label": null,
      "description": null,
      "presetKey": null,
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 0,
      "availability": "AVAILABLE",
      "pricing": "PACKAGE",
      "specs": [
        {
          "specCode": "payuni_unimart_ambient",
          "temperatureZone": "ambient",
          "maxDimensionSum": 105,
          "maxEdge": 45,
          "maxWeightGrams": 5000,
          "referenceCost": 6500
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "dm_example02",
      "kind": "CUSTOM",
      "carrierCode": null,
      "deliveryMethod": "custom-dm_example02",
      "provider": null,
      "label": null,
      "description": "Mon–Fri 10:00–18:00 at our shop",
      "presetKey": "local-pickup",
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 1,
      "availability": "AVAILABLE",
      "pricing": "FLAT",
      "specs": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "dm_example03",
      "kind": "CUSTOM",
      "carrierCode": null,
      "deliveryMethod": "custom-dm_example03",
      "provider": null,
      "label": "Meetup at Taipei Main Station",
      "description": "Fridays 18:00–20:00",
      "presetKey": null,
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 2,
      "availability": "AVAILABLE",
      "pricing": "FLAT",
      "specs": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ],
  "profiles": [
    {
      "id": "shpprof_default",
      "name": null,
      "isDefault": true,
      "productCount": 12
    },
    {
      "id": "shpprof_frozen",
      "name": "Frozen cakes",
      "isDefault": false,
      "productCount": 3
    }
  ],
  "zones": [
    {
      "id": "zone_example01",
      "name": "",
      "countries": [],
      "regions": [],
      "postalCodePrefixes": [],
      "isDefault": true
    }
  ],
  "options": [
    {
      "id": "so_example01",
      "methodId": "dm_example01",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example02",
      "methodId": "dm_example02",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example03",
      "methodId": "dm_example01",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": false,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example04",
      "methodId": "dm_example02",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ],
  "methodId": "dm_example03"
}
```

### Reorder delivery methods

`PUT /sites/{id}/delivery-methods/order`

- Stability: beta
- Permission: `fulfillment:manage`
- Rate limit: default (120/minute per token)
- MCP tool: `delivery_methods_reorder`

Set the order delivery methods appear at checkout, the same as dragging them in the console: pass every delivery method id of the site (shipping.get_settings → methods) in the order you want. Errors: FORBIDDEN, VALIDATION (details.reason INCOMPLETE_METHOD_LIST with details.missing and details.unknown, or DUPLICATE_METHOD_ID).

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Website id. Get it from sites.list or from sites.create. |

**Request body**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `methodIds` | string[] | yes | Every delivery method id, first shown first. |

**Response** (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string \| null | yes | Currency of the default market. |
| `methods` | object[] | yes | — |
| `methods[].id` | string | yes | Also the option id buyers pick at checkout. |
| `methods[].kind` | "CARRIER" \| "CUSTOM" | yes | CARRIER: a carrier such as 7-ELEVEN or Black Cat, booked through a logistics provider. CUSTOM: a method the store runs itself (meetup, pickup, own delivery). |
| `methods[].carrierCode` | string \| null | yes | — |
| `methods[].deliveryMethod` | string \| null | yes | Delivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>. |
| `methods[].provider` | string \| null | yes | Logistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet. |
| `methods[].label` | string \| null | yes | Name of a custom method; null on a preset (meetup, local pickup) follows the site language. |
| `methods[].description` | string \| null | yes | — |
| `methods[].presetKey` | string \| null | yes | meetup or local-pickup for the built-in custom methods. |
| `methods[].requiresAddress` | boolean | yes | Whether buyers enter a delivery address. |
| `methods[].enabled` | boolean | yes | Shown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive. |
| `methods[].checkoutOrder` | integer | yes | Position at checkout, lowest first. |
| `methods[].availability` | "AVAILABLE" \| "NOT_ACTIVATED" \| "PAYMENT_SUSPENDED" | yes | CARRIER only: NOT_ACTIVATED until the owner finishes the carrier setup in the console; PAYMENT_SUSPENDED while the payment account the carrier depends on cannot take payments. Custom methods are always AVAILABLE. |
| `methods[].pricing` | "PACKAGE" \| "FLAT" | yes | PACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit. |
| `methods[].specs` | object[] | yes | Package sizes this carrier can price (PACKAGE pricing). |
| `methods[].specs[].specCode` | string | yes | Package size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices. |
| `methods[].specs[].temperatureZone` | string | yes | ambient, chilled or frozen. |
| `methods[].specs[].maxDimensionSum` | integer \| null | yes | Largest length + width + height in cm. |
| `methods[].specs[].maxEdge` | integer \| null | yes | Longest side in cm. |
| `methods[].specs[].maxWeightGrams` | integer \| null | yes | — |
| `methods[].specs[].referenceCost` | integer \| null | yes | What the carrier charges the store, in minor units; a suggestion for the price. |
| `methods[].updatedAt` | string | yes | — |
| `profiles` | object[] | yes | — |
| `profiles[].id` | string | yes | — |
| `profiles[].name` | string \| null | yes | null for the default profile (shown in the store's language). |
| `profiles[].isDefault` | boolean | yes | Products without a profile use the default profile. It cannot be renamed or deleted. |
| `profiles[].productCount` | integer | yes | Products and variants assigned to this profile. |
| `zones` | object[] | yes | — |
| `zones[].id` | string | yes | — |
| `zones[].name` | string | yes | — |
| `zones[].countries` | string[] | yes | ISO 3166-1 alpha-2; empty = any country. |
| `zones[].regions` | string[] | yes | — |
| `zones[].postalCodePrefixes` | string[] | yes | — |
| `zones[].isDefault` | boolean | yes | — |
| `options` | object[] | yes | One per delivery method × shipping profile × zone × market. |
| `options[].id` | string | yes | — |
| `options[].methodId` | string | yes | — |
| `options[].profileId` | string | yes | — |
| `options[].zoneId` | string | yes | — |
| `options[].marketId` | string | yes | — |
| `options[].isActive` | boolean | yes | Whether products in this shipping profile can use this method. Always true in the default profile. |
| `options[].currency` | string | yes | Currency of every amount on this option (the market currency). |
| `options[].amount` | integer | yes | FLAT pricing: price per order, minor units. |
| `options[].additionalItemAmount` | integer | yes | FLAT pricing: added for each unit after the first, minor units. |
| `options[].freeShippingThreshold` | integer | yes | Free shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping. |
| `options[].specPrices` | object[] | yes | PACKAGE pricing: price per package size. A size without a price is not offered. |
| `options[].specPrices[].specCode` | string | yes | — |
| `options[].specPrices[].amount` | integer | yes | Price per package, minor units. |
| `options[].specPrices[].activated` | boolean | yes | false while the carrier is not set up for this temperature; buyers do not see it yet. |
| `options[].updatedAt` | string | yes | Send it back as expectedUpdatedAt in shipping_options.update. |

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `FORBIDDEN` | 403 | — |
| `VALIDATION` | 400 | details.reason INCOMPLETE_METHOD_LIST with details.missing and details.unknown, or DUPLICATE_METHOD_ID |

```bash
curl -X PUT "https://app.kanorio.com/api/v1/sites/{id}/delivery-methods/order" \
  -H "Authorization: Bearer $KANORIO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"methodIds":["dm_example02","dm_example01"]}'
```

```json
{
  "currency": "twd",
  "methods": [
    {
      "id": "dm_example02",
      "kind": "CUSTOM",
      "carrierCode": null,
      "deliveryMethod": "custom-dm_example02",
      "provider": null,
      "label": null,
      "description": "Mon–Fri 10:00–18:00 at our shop",
      "presetKey": "local-pickup",
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 0,
      "availability": "AVAILABLE",
      "pricing": "FLAT",
      "specs": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "dm_example01",
      "kind": "CARRIER",
      "carrierCode": "unimart",
      "deliveryMethod": "cvs-pickup",
      "provider": "PAYUNI_LOGISTICS",
      "label": null,
      "description": null,
      "presetKey": null,
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 1,
      "availability": "AVAILABLE",
      "pricing": "PACKAGE",
      "specs": [
        {
          "specCode": "payuni_unimart_ambient",
          "temperatureZone": "ambient",
          "maxDimensionSum": 105,
          "maxEdge": 45,
          "maxWeightGrams": 5000,
          "referenceCost": 6500
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ],
  "profiles": [
    {
      "id": "shpprof_default",
      "name": null,
      "isDefault": true,
      "productCount": 12
    },
    {
      "id": "shpprof_frozen",
      "name": "Frozen cakes",
      "isDefault": false,
      "productCount": 3
    }
  ],
  "zones": [
    {
      "id": "zone_example01",
      "name": "",
      "countries": [],
      "regions": [],
      "postalCodePrefixes": [],
      "isDefault": true
    }
  ],
  "options": [
    {
      "id": "so_example01",
      "methodId": "dm_example01",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example02",
      "methodId": "dm_example02",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example03",
      "methodId": "dm_example01",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": false,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example04",
      "methodId": "dm_example02",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ]
}
```

### Update a delivery method

`PATCH /sites/{id}/delivery-methods/{methodId}`

- Stability: beta
- Permission: `fulfillment:manage`
- Rate limit: default (120/minute per token)
- MCP tool: `delivery_methods_update`

Turn a delivery method on or off at checkout for the whole store, or edit a custom method (label, description, requiresAddress). Only the fields you send change. Turning a carrier on needs it set up in the console first. To stop offering a method for one shipping profile only, set that option's isActive with shipping_options.update. Errors: FORBIDDEN, DELIVERY_METHOD_NOT_FOUND, CARRIER_NOT_ACTIVATED, CARRIER_SUSPENDED, VALIDATION (details.reason CARRIER_FIELDS_FIXED: label, description and requiresAddress belong to custom methods; LABEL_REQUIRED: only a preset can clear its label).

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Website id. Get it from sites.list or from sites.create. |
| `methodId` | path | string | yes | Delivery method id from shipping.get_settings (methods[].id). |

**Request body**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `enabled` | boolean | no | — |
| `label` | string \| null | no | Custom methods only. null on a preset (meetup, local pickup) goes back to the name in the site language. |
| `description` | string \| null | no | Custom methods only; null clears it. |
| `requiresAddress` | boolean | no | Custom methods only. |

**Response** (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string \| null | yes | Currency of the default market. |
| `methods` | object[] | yes | — |
| `methods[].id` | string | yes | Also the option id buyers pick at checkout. |
| `methods[].kind` | "CARRIER" \| "CUSTOM" | yes | CARRIER: a carrier such as 7-ELEVEN or Black Cat, booked through a logistics provider. CUSTOM: a method the store runs itself (meetup, pickup, own delivery). |
| `methods[].carrierCode` | string \| null | yes | — |
| `methods[].deliveryMethod` | string \| null | yes | Delivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>. |
| `methods[].provider` | string \| null | yes | Logistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet. |
| `methods[].label` | string \| null | yes | Name of a custom method; null on a preset (meetup, local pickup) follows the site language. |
| `methods[].description` | string \| null | yes | — |
| `methods[].presetKey` | string \| null | yes | meetup or local-pickup for the built-in custom methods. |
| `methods[].requiresAddress` | boolean | yes | Whether buyers enter a delivery address. |
| `methods[].enabled` | boolean | yes | Shown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive. |
| `methods[].checkoutOrder` | integer | yes | Position at checkout, lowest first. |
| `methods[].availability` | "AVAILABLE" \| "NOT_ACTIVATED" \| "PAYMENT_SUSPENDED" | yes | CARRIER only: NOT_ACTIVATED until the owner finishes the carrier setup in the console; PAYMENT_SUSPENDED while the payment account the carrier depends on cannot take payments. Custom methods are always AVAILABLE. |
| `methods[].pricing` | "PACKAGE" \| "FLAT" | yes | PACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit. |
| `methods[].specs` | object[] | yes | Package sizes this carrier can price (PACKAGE pricing). |
| `methods[].specs[].specCode` | string | yes | Package size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices. |
| `methods[].specs[].temperatureZone` | string | yes | ambient, chilled or frozen. |
| `methods[].specs[].maxDimensionSum` | integer \| null | yes | Largest length + width + height in cm. |
| `methods[].specs[].maxEdge` | integer \| null | yes | Longest side in cm. |
| `methods[].specs[].maxWeightGrams` | integer \| null | yes | — |
| `methods[].specs[].referenceCost` | integer \| null | yes | What the carrier charges the store, in minor units; a suggestion for the price. |
| `methods[].updatedAt` | string | yes | — |
| `profiles` | object[] | yes | — |
| `profiles[].id` | string | yes | — |
| `profiles[].name` | string \| null | yes | null for the default profile (shown in the store's language). |
| `profiles[].isDefault` | boolean | yes | Products without a profile use the default profile. It cannot be renamed or deleted. |
| `profiles[].productCount` | integer | yes | Products and variants assigned to this profile. |
| `zones` | object[] | yes | — |
| `zones[].id` | string | yes | — |
| `zones[].name` | string | yes | — |
| `zones[].countries` | string[] | yes | ISO 3166-1 alpha-2; empty = any country. |
| `zones[].regions` | string[] | yes | — |
| `zones[].postalCodePrefixes` | string[] | yes | — |
| `zones[].isDefault` | boolean | yes | — |
| `options` | object[] | yes | One per delivery method × shipping profile × zone × market. |
| `options[].id` | string | yes | — |
| `options[].methodId` | string | yes | — |
| `options[].profileId` | string | yes | — |
| `options[].zoneId` | string | yes | — |
| `options[].marketId` | string | yes | — |
| `options[].isActive` | boolean | yes | Whether products in this shipping profile can use this method. Always true in the default profile. |
| `options[].currency` | string | yes | Currency of every amount on this option (the market currency). |
| `options[].amount` | integer | yes | FLAT pricing: price per order, minor units. |
| `options[].additionalItemAmount` | integer | yes | FLAT pricing: added for each unit after the first, minor units. |
| `options[].freeShippingThreshold` | integer | yes | Free shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping. |
| `options[].specPrices` | object[] | yes | PACKAGE pricing: price per package size. A size without a price is not offered. |
| `options[].specPrices[].specCode` | string | yes | — |
| `options[].specPrices[].amount` | integer | yes | Price per package, minor units. |
| `options[].specPrices[].activated` | boolean | yes | false while the carrier is not set up for this temperature; buyers do not see it yet. |
| `options[].updatedAt` | string | yes | Send it back as expectedUpdatedAt in shipping_options.update. |

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `FORBIDDEN` | 403 | — |
| `DELIVERY_METHOD_NOT_FOUND` | 404 | — |
| `CARRIER_NOT_ACTIVATED` | 422 | — |
| `CARRIER_SUSPENDED` | 422 | — |
| `VALIDATION` | 400 | details.reason CARRIER_FIELDS_FIXED: label, description and requiresAddress belong to custom methods; LABEL_REQUIRED: only a preset can clear its label |

```bash
curl -X PATCH "https://app.kanorio.com/api/v1/sites/{id}/delivery-methods/{methodId}" \
  -H "Authorization: Bearer $KANORIO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"enabled":false}'
```

```json
{
  "currency": "twd",
  "methods": [
    {
      "id": "dm_example01",
      "kind": "CARRIER",
      "carrierCode": "unimart",
      "deliveryMethod": "cvs-pickup",
      "provider": "PAYUNI_LOGISTICS",
      "label": null,
      "description": null,
      "presetKey": null,
      "requiresAddress": false,
      "enabled": false,
      "checkoutOrder": 0,
      "availability": "AVAILABLE",
      "pricing": "PACKAGE",
      "specs": [
        {
          "specCode": "payuni_unimart_ambient",
          "temperatureZone": "ambient",
          "maxDimensionSum": 105,
          "maxEdge": 45,
          "maxWeightGrams": 5000,
          "referenceCost": 6500
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "dm_example02",
      "kind": "CUSTOM",
      "carrierCode": null,
      "deliveryMethod": "custom-dm_example02",
      "provider": null,
      "label": null,
      "description": "Mon–Fri 10:00–18:00 at our shop",
      "presetKey": "local-pickup",
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 1,
      "availability": "AVAILABLE",
      "pricing": "FLAT",
      "specs": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ],
  "profiles": [
    {
      "id": "shpprof_default",
      "name": null,
      "isDefault": true,
      "productCount": 12
    },
    {
      "id": "shpprof_frozen",
      "name": "Frozen cakes",
      "isDefault": false,
      "productCount": 3
    }
  ],
  "zones": [
    {
      "id": "zone_example01",
      "name": "",
      "countries": [],
      "regions": [],
      "postalCodePrefixes": [],
      "isDefault": true
    }
  ],
  "options": [
    {
      "id": "so_example01",
      "methodId": "dm_example01",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example02",
      "methodId": "dm_example02",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example03",
      "methodId": "dm_example01",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": false,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    },
    {
      "id": "so_example04",
      "methodId": "dm_example02",
      "profileId": "shpprof_frozen",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 0,
      "specPrices": [],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ]
}
```

### Delete a delivery method

`DELETE /sites/{id}/delivery-methods/{methodId}`

- Stability: beta
- Permission: `fulfillment:manage`
- Rate limit: default (120/minute per token)
- MCP tool: `delivery_methods_delete`

Delete a custom delivery method with its shipping options. Orders keep the name they were placed with. Carriers cannot be deleted; turn them off with delivery_methods.update { enabled: false }. Errors: FORBIDDEN, DELIVERY_METHOD_NOT_FOUND, NOT_CUSTOM_METHOD.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Website id. Get it from sites.list or from sites.create. |
| `methodId` | path | string | yes | Delivery method id from shipping.get_settings (methods[].id). |

**Response** (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string \| null | yes | Currency of the default market. |
| `methods` | object[] | yes | — |
| `methods[].id` | string | yes | Also the option id buyers pick at checkout. |
| `methods[].kind` | "CARRIER" \| "CUSTOM" | yes | CARRIER: a carrier such as 7-ELEVEN or Black Cat, booked through a logistics provider. CUSTOM: a method the store runs itself (meetup, pickup, own delivery). |
| `methods[].carrierCode` | string \| null | yes | — |
| `methods[].deliveryMethod` | string \| null | yes | Delivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>. |
| `methods[].provider` | string \| null | yes | Logistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet. |
| `methods[].label` | string \| null | yes | Name of a custom method; null on a preset (meetup, local pickup) follows the site language. |
| `methods[].description` | string \| null | yes | — |
| `methods[].presetKey` | string \| null | yes | meetup or local-pickup for the built-in custom methods. |
| `methods[].requiresAddress` | boolean | yes | Whether buyers enter a delivery address. |
| `methods[].enabled` | boolean | yes | Shown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive. |
| `methods[].checkoutOrder` | integer | yes | Position at checkout, lowest first. |
| `methods[].availability` | "AVAILABLE" \| "NOT_ACTIVATED" \| "PAYMENT_SUSPENDED" | yes | CARRIER only: NOT_ACTIVATED until the owner finishes the carrier setup in the console; PAYMENT_SUSPENDED while the payment account the carrier depends on cannot take payments. Custom methods are always AVAILABLE. |
| `methods[].pricing` | "PACKAGE" \| "FLAT" | yes | PACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit. |
| `methods[].specs` | object[] | yes | Package sizes this carrier can price (PACKAGE pricing). |
| `methods[].specs[].specCode` | string | yes | Package size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices. |
| `methods[].specs[].temperatureZone` | string | yes | ambient, chilled or frozen. |
| `methods[].specs[].maxDimensionSum` | integer \| null | yes | Largest length + width + height in cm. |
| `methods[].specs[].maxEdge` | integer \| null | yes | Longest side in cm. |
| `methods[].specs[].maxWeightGrams` | integer \| null | yes | — |
| `methods[].specs[].referenceCost` | integer \| null | yes | What the carrier charges the store, in minor units; a suggestion for the price. |
| `methods[].updatedAt` | string | yes | — |
| `profiles` | object[] | yes | — |
| `profiles[].id` | string | yes | — |
| `profiles[].name` | string \| null | yes | null for the default profile (shown in the store's language). |
| `profiles[].isDefault` | boolean | yes | Products without a profile use the default profile. It cannot be renamed or deleted. |
| `profiles[].productCount` | integer | yes | Products and variants assigned to this profile. |
| `zones` | object[] | yes | — |
| `zones[].id` | string | yes | — |
| `zones[].name` | string | yes | — |
| `zones[].countries` | string[] | yes | ISO 3166-1 alpha-2; empty = any country. |
| `zones[].regions` | string[] | yes | — |
| `zones[].postalCodePrefixes` | string[] | yes | — |
| `zones[].isDefault` | boolean | yes | — |
| `options` | object[] | yes | One per delivery method × shipping profile × zone × market. |
| `options[].id` | string | yes | — |
| `options[].methodId` | string | yes | — |
| `options[].profileId` | string | yes | — |
| `options[].zoneId` | string | yes | — |
| `options[].marketId` | string | yes | — |
| `options[].isActive` | boolean | yes | Whether products in this shipping profile can use this method. Always true in the default profile. |
| `options[].currency` | string | yes | Currency of every amount on this option (the market currency). |
| `options[].amount` | integer | yes | FLAT pricing: price per order, minor units. |
| `options[].additionalItemAmount` | integer | yes | FLAT pricing: added for each unit after the first, minor units. |
| `options[].freeShippingThreshold` | integer | yes | Free shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping. |
| `options[].specPrices` | object[] | yes | PACKAGE pricing: price per package size. A size without a price is not offered. |
| `options[].specPrices[].specCode` | string | yes | — |
| `options[].specPrices[].amount` | integer | yes | Price per package, minor units. |
| `options[].specPrices[].activated` | boolean | yes | false while the carrier is not set up for this temperature; buyers do not see it yet. |
| `options[].updatedAt` | string | yes | Send it back as expectedUpdatedAt in shipping_options.update. |

**Errors**

| Code | Status | When |
| --- | --- | --- |
| `FORBIDDEN` | 403 | — |
| `DELIVERY_METHOD_NOT_FOUND` | 404 | — |
| `NOT_CUSTOM_METHOD` | 422 | — |

```bash
curl -X DELETE "https://app.kanorio.com/api/v1/sites/{id}/delivery-methods/{methodId}" \
  -H "Authorization: Bearer $KANORIO_TOKEN"
```

```json
{
  "currency": "twd",
  "methods": [
    {
      "id": "dm_example01",
      "kind": "CARRIER",
      "carrierCode": "unimart",
      "deliveryMethod": "cvs-pickup",
      "provider": "PAYUNI_LOGISTICS",
      "label": null,
      "description": null,
      "presetKey": null,
      "requiresAddress": false,
      "enabled": true,
      "checkoutOrder": 0,
      "availability": "AVAILABLE",
      "pricing": "PACKAGE",
      "specs": [
        {
          "specCode": "payuni_unimart_ambient",
          "temperatureZone": "ambient",
          "maxDimensionSum": 105,
          "maxEdge": 45,
          "maxWeightGrams": 5000,
          "referenceCost": 6500
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ],
  "profiles": [
    {
      "id": "shpprof_default",
      "name": null,
      "isDefault": true,
      "productCount": 12
    },
    {
      "id": "shpprof_frozen",
      "name": "Frozen cakes",
      "isDefault": false,
      "productCount": 3
    }
  ],
  "zones": [
    {
      "id": "zone_example01",
      "name": "",
      "countries": [],
      "regions": [],
      "postalCodePrefixes": [],
      "isDefault": true
    }
  ],
  "options": [
    {
      "id": "so_example01",
      "methodId": "dm_example01",
      "profileId": "shpprof_default",
      "zoneId": "zone_example01",
      "marketId": "mkt_example01",
      "isActive": true,
      "currency": "twd",
      "amount": 0,
      "additionalItemAmount": 0,
      "freeShippingThreshold": 100000,
      "specPrices": [
        {
          "specCode": "payuni_unimart_ambient",
          "amount": 6500,
          "activated": true
        }
      ],
      "updatedAt": "2026-10-06T08:00:00.000Z"
    }
  ]
}
```
