Skip to main content

paginatedBrands

Get all brands according to roles of the current party with pagination.

paginatedBrands(
after: String
before: String
companyId: ID
first: Int
last: Int
responsible: Boolean = false
search: String
): BrandConnection!

Arguments

paginatedBrands.after ● String scalar

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

paginatedBrands.before ● String scalar

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

paginatedBrands.companyId ● ID scalar

The ID of the company to get the brands from.

paginatedBrands.first ● Int scalar

Returns the first _n_ elements from the list.

paginatedBrands.last ● Int scalar

Returns the last _n_ elements from the list.

paginatedBrands.responsible ● Boolean scalar

If true, returns only the brands where the current party is responsible.

paginatedBrands.search ● String scalar

The search term to filter the brands.

Type

BrandConnection object

The connection type for Brand.