TanqoryDocs

themes

  • Query
  • Content and shop

Requires read_themes access scope. About access scopes

Lists the online store's themes, a page at a time with first/after. Filter by theme names or roles.

Arguments

ArgumentTypeRequiredDefault
afterStringOptional
beforeStringOptional
firstIntOptional
lastIntOptional
names[String!]Optional
reverseBooleanOptionalfalse
roles[ThemeRole!]Optional

Returns

OnlineStoreThemeConnection A page of OnlineStoreTheme objects, with pageInfo for the next page.

FieldTypeDescription
edges[OnlineStoreThemeEdge!]!
nodes[OnlineStoreTheme!]!
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_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 Themes($first: Int) {\n  themes(first: $first) {\n    nodes {\n      createdAt\n      id\n      name\n      prefix\n      processing\n      processingFailed\n      role\n      themeStoreId\n      updatedAt\n    }\n    pageInfo { hasNextPage endCursor }\n  }\n}","variables":{"first":5}}'

Built from commit c0b3fb3fdef7 · API version 2026-10