API 参考
Delivery methods
Management API: POST /sites/{id}/delivery-methods, PUT /sites/{id}/delivery-methods/order, PATCH /sites/{id}/delivery-methods/{methodId}, …
Create a delivery method
/sites/{id}/delivery-methodsAdd 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
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Idempotency-Keystring · headerClient-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
labelstringrequiredName buyers see at checkout.
descriptionstringShown under the name, e.g. when and where to meet.
requiresAddressbooleanWhether buyers enter a delivery address; default true. Use false for meetups and pickups.
amountintegerrequiredPrice per order in minor units of the store currency (shipping.get_settings → currency); 0 for free.
freeShippingThresholdintegerFree when the discounted merchandise subtotal reaches this amount; omit or 0 for none.
Response 201
currencystring | nullrequiredCurrency of the default market.
methodsobject[]requiredmethods[].idstringrequiredAlso the option id buyers pick at checkout.
methods[].kind"CARRIER" | "CUSTOM"requiredCARRIER: 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[].carrierCodestring | nullrequiredmethods[].deliveryMethodstring | nullrequiredDelivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>.
methods[].providerstring | nullrequiredLogistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet.
methods[].labelstring | nullrequiredName of a custom method; null on a preset (meetup, local pickup) follows the site language.
methods[].descriptionstring | nullrequiredmethods[].presetKeystring | nullrequiredmeetup or local-pickup for the built-in custom methods.
methods[].requiresAddressbooleanrequiredWhether buyers enter a delivery address.
methods[].enabledbooleanrequiredShown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive.
methods[].checkoutOrderintegerrequiredPosition at checkout, lowest first.
methods[].availability"AVAILABLE" | "NOT_ACTIVATED" | "PAYMENT_SUSPENDED"requiredCARRIER 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"requiredPACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit.
methods[].specsobject[]requiredPackage sizes this carrier can price (PACKAGE pricing).
methods[].specs[].specCodestringrequiredPackage size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices.
methods[].specs[].temperatureZonestringrequiredambient, chilled or frozen.
methods[].specs[].maxDimensionSuminteger | nullrequiredLargest length + width + height in cm.
methods[].specs[].maxEdgeinteger | nullrequiredLongest side in cm.
methods[].specs[].maxWeightGramsinteger | nullrequiredmethods[].specs[].referenceCostinteger | nullrequiredWhat the carrier charges the store, in minor units; a suggestion for the price.
methods[].updatedAtstringrequiredprofilesobject[]requiredprofiles[].idstringrequiredprofiles[].namestring | nullrequirednull for the default profile (shown in the store's language).
profiles[].isDefaultbooleanrequiredProducts without a profile use the default profile. It cannot be renamed or deleted.
profiles[].productCountintegerrequiredProducts and variants assigned to this profile.
zonesobject[]requiredzones[].idstringrequiredzones[].namestringrequiredzones[].countriesstring[]requiredISO 3166-1 alpha-2; empty = any country.
zones[].regionsstring[]requiredzones[].postalCodePrefixesstring[]requiredzones[].isDefaultbooleanrequiredoptionsobject[]requiredOne per delivery method × shipping profile × zone × market.
options[].idstringrequiredoptions[].methodIdstringrequiredoptions[].profileIdstringrequiredoptions[].zoneIdstringrequiredoptions[].marketIdstringrequiredoptions[].isActivebooleanrequiredWhether products in this shipping profile can use this method. Always true in the default profile.
options[].currencystringrequiredCurrency of every amount on this option (the market currency).
options[].amountintegerrequiredFLAT pricing: price per order, minor units.
options[].additionalItemAmountintegerrequiredFLAT pricing: added for each unit after the first, minor units.
options[].freeShippingThresholdintegerrequiredFree shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping.
options[].specPricesobject[]requiredPACKAGE pricing: price per package size. A size without a price is not offered.
options[].specPrices[].specCodestringrequiredoptions[].specPrices[].amountintegerrequiredPrice per package, minor units.
options[].specPrices[].activatedbooleanrequiredfalse while the carrier is not set up for this temperature; buyers do not see it yet.
options[].updatedAtstringrequiredSend it back as expectedUpdatedAt in shipping_options.update.
methodIdstringrequiredThe delivery method just added.
Errors
FORBIDDEN403VALIDATION400
MCP tool delivery_methods_create
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}'{
"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
/sites/{id}/delivery-methods/orderSet 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
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
Request body
methodIdsstring[]requiredEvery delivery method id, first shown first.
Response 200
currencystring | nullrequiredCurrency of the default market.
methodsobject[]requiredmethods[].idstringrequiredAlso the option id buyers pick at checkout.
methods[].kind"CARRIER" | "CUSTOM"requiredCARRIER: 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[].carrierCodestring | nullrequiredmethods[].deliveryMethodstring | nullrequiredDelivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>.
methods[].providerstring | nullrequiredLogistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet.
methods[].labelstring | nullrequiredName of a custom method; null on a preset (meetup, local pickup) follows the site language.
methods[].descriptionstring | nullrequiredmethods[].presetKeystring | nullrequiredmeetup or local-pickup for the built-in custom methods.
methods[].requiresAddressbooleanrequiredWhether buyers enter a delivery address.
methods[].enabledbooleanrequiredShown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive.
methods[].checkoutOrderintegerrequiredPosition at checkout, lowest first.
methods[].availability"AVAILABLE" | "NOT_ACTIVATED" | "PAYMENT_SUSPENDED"requiredCARRIER 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"requiredPACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit.
methods[].specsobject[]requiredPackage sizes this carrier can price (PACKAGE pricing).
methods[].specs[].specCodestringrequiredPackage size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices.
methods[].specs[].temperatureZonestringrequiredambient, chilled or frozen.
methods[].specs[].maxDimensionSuminteger | nullrequiredLargest length + width + height in cm.
methods[].specs[].maxEdgeinteger | nullrequiredLongest side in cm.
methods[].specs[].maxWeightGramsinteger | nullrequiredmethods[].specs[].referenceCostinteger | nullrequiredWhat the carrier charges the store, in minor units; a suggestion for the price.
methods[].updatedAtstringrequiredprofilesobject[]requiredprofiles[].idstringrequiredprofiles[].namestring | nullrequirednull for the default profile (shown in the store's language).
profiles[].isDefaultbooleanrequiredProducts without a profile use the default profile. It cannot be renamed or deleted.
profiles[].productCountintegerrequiredProducts and variants assigned to this profile.
zonesobject[]requiredzones[].idstringrequiredzones[].namestringrequiredzones[].countriesstring[]requiredISO 3166-1 alpha-2; empty = any country.
zones[].regionsstring[]requiredzones[].postalCodePrefixesstring[]requiredzones[].isDefaultbooleanrequiredoptionsobject[]requiredOne per delivery method × shipping profile × zone × market.
options[].idstringrequiredoptions[].methodIdstringrequiredoptions[].profileIdstringrequiredoptions[].zoneIdstringrequiredoptions[].marketIdstringrequiredoptions[].isActivebooleanrequiredWhether products in this shipping profile can use this method. Always true in the default profile.
options[].currencystringrequiredCurrency of every amount on this option (the market currency).
options[].amountintegerrequiredFLAT pricing: price per order, minor units.
options[].additionalItemAmountintegerrequiredFLAT pricing: added for each unit after the first, minor units.
options[].freeShippingThresholdintegerrequiredFree shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping.
options[].specPricesobject[]requiredPACKAGE pricing: price per package size. A size without a price is not offered.
options[].specPrices[].specCodestringrequiredoptions[].specPrices[].amountintegerrequiredPrice per package, minor units.
options[].specPrices[].activatedbooleanrequiredfalse while the carrier is not set up for this temperature; buyers do not see it yet.
options[].updatedAtstringrequiredSend it back as expectedUpdatedAt in shipping_options.update.
Errors
FORBIDDEN403VALIDATION400 · details.reason INCOMPLETE_METHOD_LIST with details.missing and details.unknown, or DUPLICATE_METHOD_ID
MCP tool delivery_methods_reorder
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"]}'{
"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
/sites/{id}/delivery-methods/{methodId}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
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
methodIdstring · pathrequiredDelivery method id from shipping.get_settings (methods[].id).
Request body
enabledbooleanlabelstring | nullCustom methods only. null on a preset (meetup, local pickup) goes back to the name in the site language.
descriptionstring | nullCustom methods only; null clears it.
requiresAddressbooleanCustom methods only.
Response 200
currencystring | nullrequiredCurrency of the default market.
methodsobject[]requiredmethods[].idstringrequiredAlso the option id buyers pick at checkout.
methods[].kind"CARRIER" | "CUSTOM"requiredCARRIER: 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[].carrierCodestring | nullrequiredmethods[].deliveryMethodstring | nullrequiredDelivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>.
methods[].providerstring | nullrequiredLogistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet.
methods[].labelstring | nullrequiredName of a custom method; null on a preset (meetup, local pickup) follows the site language.
methods[].descriptionstring | nullrequiredmethods[].presetKeystring | nullrequiredmeetup or local-pickup for the built-in custom methods.
methods[].requiresAddressbooleanrequiredWhether buyers enter a delivery address.
methods[].enabledbooleanrequiredShown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive.
methods[].checkoutOrderintegerrequiredPosition at checkout, lowest first.
methods[].availability"AVAILABLE" | "NOT_ACTIVATED" | "PAYMENT_SUSPENDED"requiredCARRIER 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"requiredPACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit.
methods[].specsobject[]requiredPackage sizes this carrier can price (PACKAGE pricing).
methods[].specs[].specCodestringrequiredPackage size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices.
methods[].specs[].temperatureZonestringrequiredambient, chilled or frozen.
methods[].specs[].maxDimensionSuminteger | nullrequiredLargest length + width + height in cm.
methods[].specs[].maxEdgeinteger | nullrequiredLongest side in cm.
methods[].specs[].maxWeightGramsinteger | nullrequiredmethods[].specs[].referenceCostinteger | nullrequiredWhat the carrier charges the store, in minor units; a suggestion for the price.
methods[].updatedAtstringrequiredprofilesobject[]requiredprofiles[].idstringrequiredprofiles[].namestring | nullrequirednull for the default profile (shown in the store's language).
profiles[].isDefaultbooleanrequiredProducts without a profile use the default profile. It cannot be renamed or deleted.
profiles[].productCountintegerrequiredProducts and variants assigned to this profile.
zonesobject[]requiredzones[].idstringrequiredzones[].namestringrequiredzones[].countriesstring[]requiredISO 3166-1 alpha-2; empty = any country.
zones[].regionsstring[]requiredzones[].postalCodePrefixesstring[]requiredzones[].isDefaultbooleanrequiredoptionsobject[]requiredOne per delivery method × shipping profile × zone × market.
options[].idstringrequiredoptions[].methodIdstringrequiredoptions[].profileIdstringrequiredoptions[].zoneIdstringrequiredoptions[].marketIdstringrequiredoptions[].isActivebooleanrequiredWhether products in this shipping profile can use this method. Always true in the default profile.
options[].currencystringrequiredCurrency of every amount on this option (the market currency).
options[].amountintegerrequiredFLAT pricing: price per order, minor units.
options[].additionalItemAmountintegerrequiredFLAT pricing: added for each unit after the first, minor units.
options[].freeShippingThresholdintegerrequiredFree shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping.
options[].specPricesobject[]requiredPACKAGE pricing: price per package size. A size without a price is not offered.
options[].specPrices[].specCodestringrequiredoptions[].specPrices[].amountintegerrequiredPrice per package, minor units.
options[].specPrices[].activatedbooleanrequiredfalse while the carrier is not set up for this temperature; buyers do not see it yet.
options[].updatedAtstringrequiredSend it back as expectedUpdatedAt in shipping_options.update.
Errors
FORBIDDEN403DELIVERY_METHOD_NOT_FOUND404CARRIER_NOT_ACTIVATED422CARRIER_SUSPENDED422VALIDATION400 · details.reason CARRIER_FIELDS_FIXED: label, description and requiresAddress belong to custom methods; LABEL_REQUIRED: only a preset can clear its label
MCP tool delivery_methods_update
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}'{
"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
/sites/{id}/delivery-methods/{methodId}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
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
methodIdstring · pathrequiredDelivery method id from shipping.get_settings (methods[].id).
Response 200
currencystring | nullrequiredCurrency of the default market.
methodsobject[]requiredmethods[].idstringrequiredAlso the option id buyers pick at checkout.
methods[].kind"CARRIER" | "CUSTOM"requiredCARRIER: 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[].carrierCodestring | nullrequiredmethods[].deliveryMethodstring | nullrequiredDelivery method code recorded on orders: cvs-pickup, home-delivery, on-demand-courier, or custom-<id>.
methods[].providerstring | nullrequiredLogistics provider the carrier routes through; null for custom methods or a carrier with no provider chosen yet.
methods[].labelstring | nullrequiredName of a custom method; null on a preset (meetup, local pickup) follows the site language.
methods[].descriptionstring | nullrequiredmethods[].presetKeystring | nullrequiredmeetup or local-pickup for the built-in custom methods.
methods[].requiresAddressbooleanrequiredWhether buyers enter a delivery address.
methods[].enabledbooleanrequiredShown at checkout at all (whole store). Whether each shipping profile offers it is options[].isActive.
methods[].checkoutOrderintegerrequiredPosition at checkout, lowest first.
methods[].availability"AVAILABLE" | "NOT_ACTIVATED" | "PAYMENT_SUSPENDED"requiredCARRIER 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"requiredPACKAGE: price per package size (options[].specPrices). FLAT: amount per order plus additionalItemAmount per extra unit.
methods[].specsobject[]requiredPackage sizes this carrier can price (PACKAGE pricing).
methods[].specs[].specCodestringrequiredPackage size declared by the carrier, e.g. payuni_tcat_ambient_60; the carrier sets the sizes, the store only sets prices.
methods[].specs[].temperatureZonestringrequiredambient, chilled or frozen.
methods[].specs[].maxDimensionSuminteger | nullrequiredLargest length + width + height in cm.
methods[].specs[].maxEdgeinteger | nullrequiredLongest side in cm.
methods[].specs[].maxWeightGramsinteger | nullrequiredmethods[].specs[].referenceCostinteger | nullrequiredWhat the carrier charges the store, in minor units; a suggestion for the price.
methods[].updatedAtstringrequiredprofilesobject[]requiredprofiles[].idstringrequiredprofiles[].namestring | nullrequirednull for the default profile (shown in the store's language).
profiles[].isDefaultbooleanrequiredProducts without a profile use the default profile. It cannot be renamed or deleted.
profiles[].productCountintegerrequiredProducts and variants assigned to this profile.
zonesobject[]requiredzones[].idstringrequiredzones[].namestringrequiredzones[].countriesstring[]requiredISO 3166-1 alpha-2; empty = any country.
zones[].regionsstring[]requiredzones[].postalCodePrefixesstring[]requiredzones[].isDefaultbooleanrequiredoptionsobject[]requiredOne per delivery method × shipping profile × zone × market.
options[].idstringrequiredoptions[].methodIdstringrequiredoptions[].profileIdstringrequiredoptions[].zoneIdstringrequiredoptions[].marketIdstringrequiredoptions[].isActivebooleanrequiredWhether products in this shipping profile can use this method. Always true in the default profile.
options[].currencystringrequiredCurrency of every amount on this option (the market currency).
options[].amountintegerrequiredFLAT pricing: price per order, minor units.
options[].additionalItemAmountintegerrequiredFLAT pricing: added for each unit after the first, minor units.
options[].freeShippingThresholdintegerrequiredFree shipping when the discounted merchandise subtotal reaches this amount; 0 = no free shipping.
options[].specPricesobject[]requiredPACKAGE pricing: price per package size. A size without a price is not offered.
options[].specPrices[].specCodestringrequiredoptions[].specPrices[].amountintegerrequiredPrice per package, minor units.
options[].specPrices[].activatedbooleanrequiredfalse while the carrier is not set up for this temperature; buyers do not see it yet.
options[].updatedAtstringrequiredSend it back as expectedUpdatedAt in shipping_options.update.
Errors
FORBIDDEN403DELIVERY_METHOD_NOT_FOUND404NOT_CUSTOM_METHOD422
MCP tool delivery_methods_delete
curl -X DELETE "https://app.kanorio.com/api/v1/sites/{id}/delivery-methods/{methodId}" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"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"
}
]
}