Brands
Get Brands
The Get Brands API provides a list of brands that are available on an e-commerce website. This list allowing users to quickly navigate to specific brands.
Endpoint:
api/customer/brands
Http Method:
GET
Query Parameters:
page
: The page number of the current page.
The API provides a paginated list of items and the total count. If you add the "page" query parameter, it sends paginated items. Otherwise, it returns all featured brands, offering flexible data management as needed.
- Success Response:
Key | Type | Description |
---|---|---|
total | Integer | The total count of items available. |
items | Array | An array containing brand objects. For more details, refer to the Brand Resource. |
{
"code": 200,
"data": {
"total": 52,
"items": [
{
"id": 8633,
"name_en": "Xiaomi",
"name_ar": "شاوميي",
"image": "https://docapi.supercommerce.io",
"images": [
"https://docapi.supercommerce.io",
// ...
],
"has_images": true
},
//...
]
}
}
Check the following section to learn more about the Brand API Reference
Get Featured Brands
The Get Featured Brands API provides a list of featured brands that are available to displayed on the homepage of the website.
Endpoint:
api/customer/home/brands
Http Method:
GET
Success Response:
You can check more details about Brands Resource.
{
"code": 200,
"data": [
{
"id": 8633,
"name_en": "Xiaomi",
"name_ar": "شاوميي",
"image": "https://docapi.supercommerce.io",
"has_images": true
},
//...
]
}
Check the following section to learn more about the Featured Brand API Reference