products
ProductConnection arguments
- after (String)
- before (String)
- first (Int)
- last (Int)
- query (String)
- reverse (Boolean)
- sortKey (ProductSortKeys)
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to queryquery•String
You can apply one or multiple filters to a query. | -
-
-| | product_type | Filter by a comma-separated list of product types. | | || | tag | Filter products by the producttagsfield. | | || | tag_not | Filter by products that don't have the specified product tags. | | || | title | Filter by the producttitlefield. | | |title:The Minimal Snowboard| | updated_at | Filter by the date and time when the product was last updated. | | | -
-
-| | variants.price | Filter by the price of the product's variants. | | vendor | Filter by the productvendorfield. | | | -vendor:Snowdevil
-| Learn more about Shopify API search syntax.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Product
Key Sort Keys Default:ID Sort the underlying list by the given key.
Anchor to Possible returnsPossible returns
- edges ([ProductEdge!]!)
- filters ([Filter!]!)
- nodes ([Product!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Product
Edge!]! non-null A list of edges.
- Anchor to filtersfilters•[Filter!]!non-null
A list of available filters.
- Anchor to nodesnodes•[Product!]!non-null
A list of the nodes contained in ProductEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.