TanqoryDocs

companyLocation

  • Query
  • Inventory and fulfillment

Returns one company location by ID, or null when it does not exist.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

CompanyLocation A branch or site of a company, with its own addresses, catalogs, tax settings, staff assignments and orders.

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 CompanyLocation($id: ID!) {\n  companyLocation(id: $id) {\n    billingAddress { id }\n    company { id }\n    createdAt\n    currency\n    defaultCursor\n    externalId\n    hasTimelineComment\n    id\n    locale\n    market { id }\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10