Get Brands
Use this API to retrieve a full list of brands.
Query Parameters
- page number
Default value:
1
By default first page will be listed. For navigating through pages, use the page parameter.
- limit number
Default value:
20
The number of results to return per request.
- id number[]
Unique identifier of the brand.
- slug string[]
A common or friendly name for the brand, should be in lowercase.
Responses
- 200
Success response
- application/json
- Example
{
"statusCode": 200,
"data": {
"results": [
{
"_id": 33,
"name": "KFC Chicken",
"slug": "kfc-chicken",
"logoUrl": "imageUrl"
}
],
"pagination": {
"currentPage": 1,
"lastPage": 1,
"perPage": 20,
"totalResults": 3
}
}
}