Skip to main content

products

Return a list of products.

products(
where: QueryProductsWhereWhereConditions
orderBy: [QueryProductsOrderByOrderByClause!]
hasGroup: QueryProductsHasGroupWhereHasConditions
hasTaxRate: QueryProductsHasTaxRateWhereHasConditions
search: String
first: Int! = 50
after: String
trashed: Trashed
): ProductConnection!

Arguments

products.where ● QueryProductsWhereWhereConditions input

products.orderBy ● [QueryProductsOrderByOrderByClause!] list input

products.hasGroup ● QueryProductsHasGroupWhereHasConditions input

products.hasTaxRate ● QueryProductsHasTaxRateWhereHasConditions input

products.search ● String scalar

products.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

products.after ● String scalar

A cursor after which elements are returned.

products.trashed ● Trashed enum

Allows to filter if trashed elements should be fetched.

Type

ProductConnection object

A paginated list of Product edges.