The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.


Anchor to QueryRoot.article
article

Fetch a specific Article by its ID.

List of the shop's articles.

Fetch a specific Blog by one of its unique attributes.

List of the shop's blogs.

Retrieve a cart by its ID. For more information, refer to Manage a cart with the Storefront API.

Fetch a specific Collection by one of its unique attributes.

List of the shop’s collections.

The customer associated with the given access token. Tokens are obtained by using the customerAccessTokenCreate mutation.

Returns the localized experiences configured for the shop.

Anchor to QueryRoot.locations
locations
Connection
non-null
Access requirements

List of the shop's locations that support in-store pickup.

When sorting by distance, you must specify a location via the near argument.

Retrieve a navigation menu by its handle.

Anchor to QueryRoot.metaobject
metaobject
Access requirements

Fetch a specific Metaobject by one of its unique identifiers.

Anchor to QueryRoot.metaobjects
metaobjects
Connection
non-null
Access requirements

All active metaobjects for the shop.

Returns a specific node by ID.

Returns the list of nodes with the given IDs.

Fetch a specific Page by one of its unique attributes.

List of the shop's pages.

Settings related to payments.

List of the predictive search results.

Fetch a specific Product by one of its unique attributes.

Find recommended products related to a given product_id. To learn more about how recommendations are generated, see Showing product recommendations on product pages.

List of the shop’s products. For storefront search, use search query.

Anchor to QueryRoot.productTags
productTags
Connection
non-null
Access requirements

Tags added to products. Additional access scope required: unauthenticated_read_product_tags.

Anchor to QueryRoot.productTypes
productTypes
Connection
non-null
Access requirements

List of product types for the shop's products that are published to your app.

The list of public Storefront API versions, including supported, release candidate and unstable versions.

List of the search results.

The shop associated with the storefront access token.

Contains all fields required to generate sitemaps.

A list of redirects for a shop.


Was this section helpful?
Map
  • No referencing fields
  • QueryRoot