TanqoryDocs

blog

  • Query
  • Storefront

Returns one blog, found by id or by handle. With both, id wins; with neither, the answer is null.

Arguments

ArgumentTypeRequiredDefault
handleStringOptional
idIDOptional

Returns

Blog A collection of articles on the online store, with its title, handle, authors, SEO details and the articles it holds.

FieldTypeDescription
articleByHandleArticle
articlesArticleConnection!
authors[ArticleAuthor!]!
handleString!
idID!
metafieldMetafield
metafields[Metafield]!
onlineStoreUrlURL
seoSEO
titleString!
tanqoryExtTemplateSuffixString

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 Blog {\n  blog {\n    handle\n    id\n    onlineStoreUrl\n    seo {\n      description\n      title\n    }\n    title\n    tanqoryExtTemplateSuffix\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10