Light Mode
List Brands
GET
/brandsLast modified: a month ago
This endpoint allows you to list all brands related to your store directly from this endpoint. Also, it allows you to filter them using a keyword, the endpoint would return any brand which name matches this keyword.
Request
Query Params
keyword
string
optional
A keyword to filter brands that match specific name.
page
integer
optional
The Pagination page number
with
enum<string>
optional
Use with=translations
to fetch list of brands with translations
Allowed value:
translations
Example:
translations
Request samples
Responses
A successful call returns a payload that contains a current list of brands.(200)
With translations(200)
A successful call returns a payload that contains a current list of brands.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"success": true,
"status": 200,
"data": [
{
"id": 1473353380,
"name": "زارا",
"description": "زارا",
"banner": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"logo": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"ar_char": "ز",
"en_char": "z",
"metadata": {
"title": "Zara brand",
"description": "Brand awareness seo",
"url": "zara/item"
}
},
{
"id": 883017162,
"name": "بربري",
"description": "بربري",
"banner": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"logo": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"ar_char": "ب",
"en_char": "b",
"metadata": {
"title": "Zara brand",
"description": "Brand awareness seo",
"url": "zara/item"
}
}
],
"pagination": {
"count": 2,
"total": 2,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
Last modified: a month ago