Skip to main content
object

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

Article

Fetch a specific Article by its ID.

ArticleConnection!
non-null

List of the shop's articles.

Blog

Fetch a specific Blog by one of its unique attributes.

BlogConnection!
non-null

List of the shop's blogs.

Cart

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

Collection

Fetch a specific Collection by one of its unique attributes.

CollectionConnection!
non-null

List of the shop’s collections.

Customer

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

Localization!
non-null

Returns the localized experiences configured for the shop.

LocationConnection!
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.

Metaobject

Fetch a specific Metaobject by one of its unique identifiers.

MetaobjectConnection!
non-null

All active metaobjects for the shop.

Node

Returns a specific node by ID.

[Node]!
non-null

Returns the list of nodes with the given IDs.

Page

Fetch a specific Page by one of its unique attributes.

PageConnection!
non-null

List of the shop's pages.

PaymentSettings!
non-null

Settings related to payments.

PredictiveSearchResult

List of the predictive search results.

Product

Fetch a specific Product by one of its unique attributes.

Anchor to productRecommendationsproductRecommendations
[Product!]

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

ProductConnection!
non-null

Returns a list of the shop's products. For storefront search, use the search query.

StringConnection!
non-null

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

StringConnection!
non-null

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

[ApiVersion!]!
non-null

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

SearchResultItemConnection!
non-null

List of the search results.

Shop!
non-null

The shop associated with the storefront access token.

Sitemap!
non-null

Contains all fields required to generate sitemaps.

UrlRedirectConnection!
non-null

A list of redirects for a shop.

Deprecated fields and connections

Blog
Deprecated
Collection
Deprecated
Page
Deprecated
Product
Deprecated

Was this section helpful?