TanqoryDocs

shopLocales

  • Query
  • Markets, tax and languages

Requires one of read_locales, read_markets_home access scope. About access scopes

Lists the languages the store has added, with which is primary. Pass published: true to keep only the published ones.

Arguments

ArgumentTypeRequiredDefault
publishedBooleanOptionalfalse

Returns

[ShopLocale!]! A language the store has added, with whether it is primary or published and the web presences that use it.

FieldTypeDescription
localeString!
marketWebPresences[MarketWebPresence!]!
nameString!
primaryBoolean!
publishedBoolean!
tanqoryExtTranslationCountInt!

How many translations the store holds in this language, every market included: what shopLocaleDisable deletes permanently. Unpublishing (shopLocaleUpdate with published: false) keeps them.

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 ShopLocales {\n  shopLocales {\n    locale\n    marketWebPresences { id }\n    name\n    primary\n    published\n    tanqoryExtTranslationCount\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10