TanqoryDocs

tanqoryExtOrderRouting

  • Query
  • Orders and payments

The store's order routing rules and split shipping setting.

Arguments

None.

Returns

TanqoryExtOrderRouting! The store's order routing (Settings > Shipping and delivery > Order routing) and split shipping setting.

FieldTypeDescription
activeBoolean!

Whether order routing applies: the store has at least two active locations that fulfil online orders. Settings > Shipping and delivery shows the Order routing row only then.

isDefaultBoolean!

True while the store has never saved its rules: the default rules apply.

locationsCountInt!

The active locations that fulfil online orders (the ones routing chooses from).

rules[TanqoryExtOrderRoutingRule!]!

The rules, in the order they run.

splitShippingEditableBoolean!

Whether split shipping can be changed: only with more than one shipping profile or shipping location.

splitShippingInCheckoutBoolean!

"Show split shipping in checkout": items that can't ship together show as one shipment each at checkout.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtOrderRouting {\n  tanqoryExtOrderRouting {\n    active\n    isDefault\n    locationsCount\n    rules { id }\n    splitShippingEditable\n    splitShippingInCheckout\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10