TanqoryDocs

tanqoryExtThemeFiles

  • Query
  • Storefront

Files of one theme of the store, ordered by filename. The MAIN theme needs no preview token; any other theme needs previewToken, a theme preview token signed for this store and this theme (otherwise ACCESS_DENIED). Null when the theme does not exist in this store. filenames filters by exact name or * pattern, as OnlineStoreTheme.files on the admin API.

Arguments

ArgumentTypeRequiredDefault
themeIdID!Required
previewTokenStringOptional
filenames[String!]Optional
firstIntOptional50
afterStringOptional

Returns

TanqoryExtThemeFileConnection

FieldTypeDescription
themeTanqoryExtTheme!

The theme the files belong to.

edges[TanqoryExtThemeFileEdge!]!
nodes[TanqoryExtThemeFile!]!
pageInfoPageInfo!

Example request

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

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

curl
curl -X POST "https://$STORE_HOST/api/v1/stores/$STORE_ID/2026-10/graphql" \
  -H "X-Tanqory-Storefront-Access-Token: $TANQORY_STOREFRONT_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtThemeFiles($themeId: ID!, $first: Int) {\n  tanqoryExtThemeFiles(themeId: $themeId, first: $first) {\n    nodes {\n      filename\n      contentType\n      checksumMd5\n      size\n      updatedAt\n      content\n      contentBase64\n      url\n    }\n    pageInfo { hasNextPage endCursor }\n  }\n}","variables":{"themeId":"gid://tanqory/Type/id","first":5}}'

Built from commit c0b3fb3fdef7 · API version 2026-10