Skip to main content

brands

Requires at least one of the permissions products:brand:list, products:brand:read, products:product:create, products:product:read, products:product:update or storefront:storefront:update.

Lists the brands of your organization with the number of products on each. Only active brands are returned unless the filter asks for another status. Needs the brands read or list permission, a products read, create or update permission, or the storefront update permission.

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 Brands {
brands {
total
brands {
id
code
name
createdAt
deletedAt
deletedBy
}
}
}

Response:

{
"data": {
"brands": {
"total": 0,
"brands": [
{
"id": "id",
"code": "string",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"deletedAt": "2025-01-15T00:00:00Z",
"deletedBy": "string"
}
]
}
}
}
brands(
filter: BrandFilterInput
): BrandListResponse!

Arguments​

brands.filter ● BrandFilterInput input​

Optional filters: search text, status, creation date range, paging and sort order.

Type​

BrandListResponse object​

A page of brands.