Skip to main content

products

Get all products for a company or brand. If a brand is provided, it will return all products for that brand. If a brand is not provided, it will return all products for all brands in the company.

HeaderValueRequired
AuthorizationBearer {token}Yes
X-Company-Id{company_id}Yes
X-Brand-Id{brand_id}No
products(
after: String
before: String
filters: ProductFilterInput
first: Int
last: Int
): ProductConnection

Arguments

products.after ● String scalar

Returns the elements in the list that come after the specified cursor.

products.before ● String scalar

Returns the elements in the list that come before the specified cursor.

products.filters ● ProductFilterInput input

Filtering options for products.

products.first ● Int scalar

Returns the first _n_ elements from the list.

products.last ● Int scalar

Returns the last _n_ elements from the list.

Type

ProductConnection object

The connection type for Product.