Query Root
The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.
Anchor to Fields and connectionsFields and connections
- Anchor to articlearticle•Article
Fetch a specific Article by its ID.
- Anchor to articlesarticles•Article
Connection! non-null List of the shop's articles.
- Anchor to blogblog•Blog
Fetch a specific
Blog
by one of its unique attributes.- Anchor to blogsblogs•Blog
Connection! non-null List of the shop's blogs.
- Anchor to cartcart•Cart
Retrieve a cart by its ID. For more information, refer to Manage a cart with the Storefront API.
- Anchor to collectioncollection•Collection
Fetch a specific
Collection
by one of its unique attributes.- Anchor to collectionscollections•Collection
Connection! non-null List of the shop’s collections.
- Anchor to customercustomer•Customer
The customer associated with the given access token. Tokens are obtained by using the
mutation.
- Anchor to localizationlocalization•Localization!non-null
Returns the localized experiences configured for the shop.
- Anchor to locationslocations•Location
Connection! non-null List of the shop's locations that support in-store pickup.
When sorting by distance, you must specify a location via the
near
argument.- •Menu
Retrieve a navigation menu by its handle.
- Anchor to metaobjectmetaobject•Metaobject
Fetch a specific Metaobject by one of its unique identifiers.
- Anchor to metaobjectsmetaobjects•Metaobject
Connection! non-null All active metaobjects for the shop.
- Anchor to nodenode•Node
Returns a specific node by ID.
- Anchor to nodesnodes•[Node]!non-null
Returns the list of nodes with the given IDs.
- Anchor to pagepage•Page
Fetch a specific
Page
by one of its unique attributes.- Anchor to pagespages•Page
Connection! non-null List of the shop's pages.
- Anchor to paymentSettingspayment•Payment
Settings Settings! non-null Settings related to payments.
- Anchor to predictiveSearchpredictive•Predictive
Search Search Result List of the predictive search results.
- Anchor to productproduct•Product
Fetch a specific
Product
by one of its unique attributes.- Anchor to productRecommendationsproduct•[Product!]
Recommendations Find recommended products related to a given
. To learn more about how recommendations are generated, see Showing product recommendations on product pages.
- Anchor to productsproducts•Product
Connection! non-null Returns a list of the shop's products. For storefront search, use the
search
query.- Anchor to productTagsproduct•String
Tags Connection! non-null Tags added to products. Additional access scope required: unauthenticated_read_product_tags.
- Anchor to productTypesproduct•String
Types Connection! non-null List of product types for the shop's products that are published to your app.
- Anchor to publicApiVersionspublic•[Api
Api Versions Version!]! non-null The list of public Storefront API versions, including supported, release candidate and unstable versions.
- Anchor to searchsearch•Search
Result Item Connection! non-null List of the search results.
- Anchor to shopshop•Shop!non-null
The shop associated with the storefront access token.
- Anchor to sitemapsitemap•Sitemap!non-null
Contains all fields required to generate sitemaps.
- Anchor to urlRedirectsurl•Url
Redirects Redirect Connection! non-null A list of redirects for a shop.
Deprecated fields and connections
- Anchor to blogByHandleblog•Blog
By Handle Deprecated - Anchor to collectionByHandlecollection•Collection
By Handle Deprecated - Anchor to pageByHandlepage•Page
By Handle Deprecated - Anchor to productByHandleproduct•Product
By Handle Deprecated