TanqoryDocs

location

  • Query
  • Inventory and fulfillment

Requires read_inventory access scope. About access scopes

Returns one location by ID. Without an id, returns the store's primary location.

Arguments

ArgumentTypeRequiredDefault
idIDOptional

Returns

Location A place where the store keeps stock or fulfills orders, such as a warehouse or shop, with its address and inventory levels.

FieldTypeDescription
activatableBoolean!
addressLocationAddress!
addressVerifiedBoolean!
createdAtDateTime!
deactivatableBoolean!
deactivatedAtString
deletableBoolean!
fulfillmentServiceFulfillmentService
fulfillsOnlineOrdersBoolean!
hasActiveInventoryBoolean!
hasUnfulfilledOrdersBoolean!
idID!
inventoryLevelInventoryLevel
  • includeInactive: Boolean = false
  • inventoryItemId: ID!
inventoryLevelsInventoryLevelConnection!
isActiveBoolean!
isFulfillmentServiceBoolean!
isPrimaryBoolean!

Deprecated

legacyResourceIdUnsignedInt64!
localPickupSettingsV2DeliveryLocalPickupSettings
metafieldMetafield
metafieldDefinitionsMetafieldDefinitionConnection!

Deprecated

metafieldsMetafieldConnection!
nameString!
shipsInventoryBoolean!
suggestedAddresses[LocationSuggestedAddress!]!
tanqoryExtLocalDeliveryTanqoryExtLocalDelivery!
tanqoryExtPhysicalStorefrontBoolean!

Physical storefront: show the location to buyers, in the online store and to AI agents.

tanqoryExtPointOfSaleTanqoryExtPointOfSale!
tanqoryExtShippingRatesTanqoryExtLocationShippingRates!
updatedAtDateTime!

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 Location {\n  location {\n    activatable\n    addressVerified\n    createdAt\n    deactivatable\n    deactivatedAt\n    deletable\n    fulfillmentService { id }\n    fulfillsOnlineOrders\n    hasActiveInventory\n    hasUnfulfilledOrders\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10