โ† API reference
Query / commerce

listProducts

List products with pagination, filtering, and sorting. Requires product:list permission.

Arguments

firstInt

Number of items from the start

afterString

Cursor to start after

Filter criteria

Sort order

Returns ProductConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete ProductConnection type

Explore in a view

Order Intake
View exact SDL
"""
List products with pagination, filtering, and sorting. Requires product:list permission.
"""
listProducts(
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
  """Filter criteria"""
  filter: ProductFilterInput
  """Sort order"""
  sort: [ProductSortInput!]
): ProductConnection! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.