Query brand/manufacturer records linked to products.
Brand — Returns a single brand by id
Brand — Returns a single brand by idquery GetBrand($id: Int!) {
Brand(id: $id) {
id
label
active
counter(include_stock_levels: true, location_id: 100)
}
}Brands — Returns a list of brands with filters, search, and ordering
Brands — Returns a list of brands with filters, search, and orderingquery Brands(
$where: QueryBrandsWhereWhereConditions,
$orderBy: [QueryBrandsOrderByOrderByClause!],
$search: String,
$first: Int,
$page: Int
) {
Brands(
where: $where,
orderBy: $orderBy,
search: $search,
first: $first,
page: $page
) {
paginatorInfo {
total
currentPage
}
data {
id
label
active
}
}
}B2bStoreBrands — Filtered brands for B2B store
B2bStoreBrands — Filtered brands for B2B storequery B2bStoreBrands(
$where: QueryB2bStoreBrandsWhereWhereConditions,
$orderBy: [QueryB2bStoreBrandsOrderByOrderByClause!],
$search: String,
$first: Int,
$page: Int
) {
B2bStoreBrands(
where: $where,
orderBy: $orderBy,
search: $search,
first: $first,
page: $page
) {
paginatorInfo {
total
currentPage
}
data {
id
label
active
}
}
}Available fields
Filters
| Field | Example |
|---|---|
id | { "column": "ID", "operator": "EQ", "value": 100012 } |
label | { "column": "LABEL", "operator": "LIKE", "value": "%Nike%" } |
active | { "column": "ACTIVE", "operator": "EQ", "value": true } |
