productConnection
Fetch Products
productConnection(
filter: ProductFilter
dynamicFilter: ProductDynamicFilter
sort: ProductSort
first: Int! = 30
after: String
offset: Int = 0
): ProductConnection
Arguments
filter ● ProductFilter
Manage what data you will get.
dynamicFilter ● ProductDynamicFilter
Dynamically manage what data you will get. Cannot be used together with filter
sort ● ProductSort
Which algorithms we will sort by. (default: id in ascending order)
first ● Int!
How many products will be fetched. (default: 30, max: 1000)
after ● String
Cursor based pagination. The ID, in this case customer ID, of the last item on the previous page.
offset ● Int
Offset based pagination for the products fetched. (default: 0). Does not work with cursor based pagination "after".
Type
ProductConnection
Represents a paginated connection list of products