Fetch Brands
Retrieve a list of brands from your store.
Endpoint
GET /api/brands/searchQuery Parameters
| Name | Type | Description |
|---|---|---|
| page | int | Page number (optional) |
| limit | int | Items per page (optional) |
| search | string | Search by name or slug |
Response
json
{
"results": [
{
"_id": "string",
"storeId": "string",
"name": "string",
"slug": "string",
"imageSrc": "string",
"description": "string"
}
],
"paginate": {
"total": 1,
"per_page": 20,
"current_page": 1,
"last_page": 1
}
}