Arguments
department
StringThe 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
IntThe page number to navigate through the given set of results.
pageSize
IntThe number of items to retrieve in each page.
Query
1query brands($department: String, $pageNo: Int, $pageSize: Int) {2 brands(department: $department, pageNo: $pageNo, pageSize: $pageSize) {3 items {4 custom_config5 description6 name7 uid8 departments9 discount10 slug11 }12 page {13 current14 next_id15 has_previous16 has_next17 item_total18 type19 size20 }21 }22}
Try it
Input Variables
1{2 "department": "Engineering",3 "pageNo": 42,4 "pageSize": 425}
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": 4224 }25 }26}
Was this section helpful?