Get All Brands
Get a paginated list of all product brands. Public endpoint.
Endpoint
Authentication
Not required (public endpoint)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page |
integer | Yes | Page number (starts at 1) |
count |
integer | Yes | Items per page (max 100) |
search |
string | No | Search by brand name (case-insensitive) |
Response
Success (200 OK)
{
"count": 15,
"data": [
{
"id": 1,
"name": "Brand Name",
"image": "https://...",
"created": "2025-01-15T10:30:00Z"
}
]
}
Error Responses
Pagination Error (400)
Example Request
Notes
- Only returns non-deleted brands
- Search matches against brand name
- Results are ordered by ID descending (newest first)
- This is a public endpoint, no authentication required