products
List of the shop's products.
products(
filter: ProductFilterInput
where: ProductWhereInput
sortBy: ProductOrder
search: String
channel: String
before: String
after: String
first: Int
last: Int
): ProductCountableConnection
Arguments
products.filter
● ProductFilterInput
input
Filtering options for products.
products.where
● ProductWhereInput
input
Where filtering options.
Added in Saleor 3.14This API is currently in Feature Preview and can be subject to changes at later point.
products.sortBy
● ProductOrder
input
Sort products.
products.search
● String
scalar
Search products.
Added in Saleor 3.14
products.channel
● String
scalar
Slug of a channel for which the data should be returned.
products.before
● String
scalar
Return the elements in the list that come before the specified cursor.
products.after
● String
scalar
Return the elements in the list that come after the specified cursor.
products.first
● Int
scalar
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
products.last
● Int
scalar
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
Type
ProductCountableConnection
object
Was this page helpful?