Skip to main content
query

Returns a paginated list of the shop's products.

For full-text storefront search, use the search query instead.

Anchor to Arguments

ProductConnection arguments

•ProductConnection!
•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•Int

Returns up to the last n elements from the list.

•String

You can apply one or multiple filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to available_for_sale
•

Filter by products that have at least one product variant available for sale.

Anchor to created_at
•

Filter by the date and time when the product was created.

Example:

  • created_at:>'2020-10-21T23:39:20Z'
  • created_at:<now
  • created_at:<=2024
Anchor to product_type
•

Filter by a comma-separated list of product types.

Example:

  • product_type:snowboard
•

Filter products by the product tags field.

Example:

  • tag:my_tag
Anchor to tag_not
•

Filter by products that don't have the specified product tags.

Example:

  • tag_not:my_tag
•

Filter by the product title field.

Example:

  • title:The Minimal Snowboard
Anchor to updated_at
•

Filter by the date and time when the product was last updated.

Example:

  • updated_at:>'2020-10-21T23:39:20Z'
  • updated_at:<now
  • updated_at:<=2024
Anchor to variants.price
•

Filter by the price of the product's variants.

•

Filter by the product vendor field.

Example:

  • vendor:Snowdevil
  • vendor:Snowdevil OR vendor:Icedevil
•Boolean
Default:false

Reverse the order of the underlying list.

•ProductSortKeys
Default:ID

Sort the underlying list by the given key.

Show enum values

Was this section helpful?

•[ProductEdge!]!
non-null

A list of edges.

Show fields
•[Filter!]!
non-null

A list of available filters.

Show fields
•[Product!]!
non-null

A list of the nodes contained in ProductEdge.

Show fields
•PageInfo!
non-null

Information to aid in pagination.

Show fields

Was this section helpful?