Skip to main content

customerBrands

Requires a customer (portal or buyer app) session.

Lists the brands that have active products, with how many each has.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CustomerBrands {
customerBrands {
id
code
name
description
logoUrl
productCount
}
}

Response:

{
"data": {
"customerBrands": [
{
"id": "id",
"code": "string",
"name": "string",
"description": "string",
"logoUrl": "string",
"productCount": 0
}
]
}
}
customerBrands(
categoryId: ID
): [CustomerBrand!]!

Arguments​

customerBrands.categoryId ● ID scalar​

Only brands with products in this category or beneath it; the counts cover that category too.

Type​

CustomerBrand object​

A brand a customer can shop.