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 common​

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

paginatedBrands.before ● String scalar common​

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

paginatedBrands.companyId ● ID scalar common​

The ID of the company to get the brands from.

paginatedBrands.first ● Int scalar common​

Returns the first _n_ elements from the list.

paginatedBrands.last ● Int scalar common​

Returns the last _n_ elements from the list.

paginatedBrands.responsible ● Boolean deprecated scalar common​

DEPRECATED

This argument is deprecated and will be removed in the future.

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

paginatedBrands.search ● String scalar common​

The search term to filter the brands.

Type​

BrandConnection object common​

The connection type for Brand.