query

brands

Get metadata of a brand such as name, information, logo, banner, etc.
Arguments
department
String
The name of the department. Use this parameter to filter products by a particular department. See the list of available departments below. Also, you can get available departments from the endpoint /service/application/catalog/v1.0/departments/.
pageNo
Int
The page number to navigate through the given set of results.
pageSize
Int
The number of items to retrieve in each page.
Response
items
[Brand]
List of brand items included in the response.
Required
An object representing a page with pagination details.
Query
1query brands($department: String, $pageNo: Int, $pageSize: Int) {
2 brands(department: $department, pageNo: $pageNo, pageSize: $pageSize) {
3 items {
4 custom_config
5 description
6 name
7 uid
8 departments
9 discount
10 slug
11 }
12 page {
13 current
14 next_id
15 has_previous
16 has_next
17 item_total
18 type
19 size
20 }
21 }
22}
Try it
Input Variables
1{
2 "department": "Engineering",
3 "pageNo": 42,
4 "pageSize": 42
5}
Response
1{
2 "brands": {
3 "items": [
4 {
5 "custom_config": {},
6 "description": "A description",
7 "name": "A name",
8 "uid": 42,
9 "departments": [
10 "Engineering"
11 ],
12 "discount": "discount",
13 "slug": "slug"
14 }
15 ],
16 "page": {
17 "current": 42,
18 "next_id": "next_id",
19 "has_previous": true,
20 "has_next": true,
21 "item_total": 42,
22 "type": "type",
23 "size": 42
24 }
25 }
26}