Skip to main content
connection

An auto-generated type for paginating through multiple Products.

Anchor to Fields with this connectionFields with this connection

•OBJECT

The list of products published to the channel.

•OBJECT

The products that are included in the collection.

•OBJECT

The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.

•OBJECT

The products to which the price rule applies.

•OBJECT

The products required for the price rule to be applicable.

•OBJECT

The list of products published to the publication.

•OBJECT

Products associated to the selling plan group.


Was this section helpful?

Anchor to Queries with this connectionQueries with this connection

•query

Retrieves a list of products in a store. Products are the items that merchants can sell in their store.

Use the products query when you need to:

  • Build a browsing interface for a product catalog.
  • Create product searching, sorting, and filtering experiences.
  • Implement product recommendations.
  • Sync product data with external systems.

The products query supports pagination to handle large product catalogs and saved searches for frequently used product queries.

The products query returns products with their associated metadata, including:

  • Basic product information (for example, title, description, vendor, and type)
  • Product options and product variants, with their prices and inventory
  • Media attachments (for example, images and videos)
  • SEO metadata
  • Product categories and tags
  • Product availability and publishing statuses

Learn more about working with Shopify's product model.


Was this section helpful?

•[ProductEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

•[Product!]!
non-null

A list of nodes that are contained in ProductEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?