TanqoryDocs

QueryRoot

  • Object
  • Other types

The root of every query: each field is an operation with its own page.

Fields

FieldTypeDescription
articleArticleReturns one published article by its id, or null when no visible article has that ID.
articlesArticleConnection!Lists the store's published articles across all blogs, a page at a time with first/after.
blogBlogReturns one blog, found by id or by handle.
blogByHandleBlog

Deprecated

Looks up a blog by its handle.
blogsBlogConnection!Lists the store's blogs, a page at a time with first/after.
cartCartReturns a cart by its id, including its lines, costs, buyer and delivery details, or null when the cart cannot be found.
cartCompletionAttemptCartCompletionAttemptResultReturns the current state of a checkout completion started by cartSubmitForCompletion: still processing, needing a buyer action, failed, or done with the new order.
collectionCollectionReturns one collection visible on the online store, found by id or by handle.
collectionByHandleCollection

Deprecated

Returns the visible collection with the given handle, or null.
collectionsCollectionConnection!Lists the collections visible on the online store, a page at a time with first/after, with a totalCount.
customerCustomerReturns the signed-in customer that a valid customerAccessToken belongs to, or null when the token is unknown or expired.
localizationLocalization!Returns the buyer's current country, language and market, plus the countries and languages the store offers, following the request's @inContext values.
locationsLocationConnection!Lists the store's active locations that offer local pickup, a page at a time with first/after.
menuMenuReturns the navigation menu with the given handle, with its items, or null when the store has no such menu.
metaobjectMetaobjectReturns one storefront-readable metaobject, found by id or by a handle together with its type.
metaobjectsMetaobjectConnection!Lists the visible metaobjects of one type, a page at a time with first/after.
nodeNodeReturns any object that has a global id, such as a product, variant, collection, media item, location, page, blog, article, menu or metaobject.
nodes[Node]!Returns the objects for a list of global ids, in the same order, with null for each ID that is hidden, unknown or malformed.
pagePageReturns one published page, found by id or by handle.
pageByHandlePage

Deprecated

Looks up a page by its handle.
pagesPageConnection!Lists the store's published pages, a page at a time with first/after.
paymentSettingsPaymentSettings!Returns how the store takes payment: its country and currency, the currencies buyers can pay in, the card brands and digital wallets it accepts, and its payments account.
predictiveSearchPredictiveSearchResultReturns type-ahead suggestions for a partly typed query: matching products, collections and suggested search terms.
productProductReturns one product visible on the online store, found by id or by handle.
productByHandleProduct

Deprecated

Returns the visible product with the given handle, or null.
productRecommendations[Product!]Returns up to ten visible products related to the product named by productId or productHandle, ranked by shared collections, tags, type and vendor.
productTagsStringConnection!Lists the distinct tags used on the store's visible products, as strings, a page at a time.
productTypesStringConnection!Lists the distinct product types used on the store's visible products, as strings, a page at a time.
productsProductConnection!Lists the products visible on the online store, a page at a time with first/after.
publicApiVersions[ApiVersion!]!Lists the API versions this service knows, with each one's handle, display name and whether it is still supported.
shopShop!Returns the store itself: its name, description, primary domain, policies, money format, payment settings and the countries it ships to.
sitemapSitemap!Returns the sitemap for one resource type (products, collections, pages, blogs, articles or metaobjects): how many pages it has and the resources on a chosen page.
urlRedirectsUrlRedirectConnection!Lists the store's URL redirects, each mapping an old path to a target, a page at a time with first/after.
tanqoryExtCheckoutConfigurationTanqoryExtCheckoutConfiguration!The published checkout configuration of the store: the checkout editor's branding, the checkout field settings and the shop policies the checkout links to.
tanqoryExtCheckoutRecoverTanqoryExtCheckoutRecoveryOpens an abandoned checkout from its recovery link (/checkouts/ac/<cartToken>/recover?key=<key>, the admin AbandonedCheckout.abandonedCheckoutUrl), or finds what became of a cart the checkout holds: key is the recovery…
tanqoryExtOrderStatusTanqoryExtOrderStatusThe order behind the thank-you and order status pages.
tanqoryExtCheckoutPaymentOptions[TanqoryExtCheckoutPaymentOption!]The payment options checkout offers for the cart, in order: the store's payments account, then its gateway accounts, then its active manual methods.
tanqoryExtCheckoutCardEntryTanqoryExtCheckoutCardEntryWhat the checkout page needs to turn the buyer's card into a card vault session (directPaymentMethod.sessionId) with the card vault in use: for Stripe, Stripe.js with this publishable key on the store's connected accoun…
tanqoryExtPublishedThemeTanqoryExtThemeThe store's published (MAIN) theme, or null when the store has none.
tanqoryExtThemeFilesTanqoryExtThemeFileConnectionFiles of one theme of the store, ordered by filename.
tanqoryExtOnlineStoreTanqoryExtOnlineStore!The online store's password protection, for the password page.
tanqoryExtWebPresences[TanqoryExtWebPresence!]!The store's web presences (admin webPresences), for the renderer's market subfolders and hreflang (card WEB-9): a domain presence (subfolderSuffix null) serves its default locale at / and each alternate at /<locale>; a…
tanqoryExtGiftCardTanqoryExtGiftCardThe gift card behind the /gift_cards/:token page.
tanqoryExtInvoiceTanqoryExtInvoiceWhat the invoice asks the buyer to pay.
tanqoryExtCheckoutPaymentActionTanqoryExtPaymentActionWhat the buyer has to do to finish a completion attempt that waits for them (cartCompletionAttempt answered CartCompletionActionRequired).
tanqoryExtCheckoutPaypalExpressTanqoryExtPaypalExpressWhat the checkout loads PayPal's button with: the store's active PayPal gateway account offers paypal for this cart (its client id, never a secret), the cart's currency and the intent the store's capture method gives.

Built from commit c0b3fb3fdef7 · API version 2026-10