TanqoryDocs

theme

  • Query
  • Content and shop

Requires read_themes access scope. About access scopes

Returns one online store theme by ID, or null when it does not exist.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

OnlineStoreTheme A theme of the online store: its name, role (such as live or unpublished), files and processing state.

FieldTypeDescription
createdAtDateTime!
filesOnlineStoreThemeFileConnection
idID!
nameString!
prefixString!
processingBoolean!
processingFailedBoolean!
roleThemeRole!
tanqoryExtMarketplaceUpdateTanqoryExtMarketplaceThemeUpdate

A Theme Store update of this theme: the theme was installed from the Theme Store at an older version than the one listed now. null when it is not a Theme Store theme, it is on the current version, the theme is no longer listed, or this store already installed the current version. Requires read_themes access scope.

themeStoreIdInt
translations[Translation!]!
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 Theme($id: ID!) {\n  theme(id: $id) {\n    createdAt\n    id\n    name\n    prefix\n    processing\n    processingFailed\n    role\n    themeStoreId\n    updatedAt\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10