List Brands
GET {{baseUrl}}/brands?keyword=<string>&page=<integer>
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.
brands.read
- Brands Read Only
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
keyword | string | A keyword to filter brands that match specific name. | |
page | string | The Pagination page number |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":[{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","description":"\u003cstring\u003e","banner":"\u003cstring\u003e","logo":"\u003cstring\u003e","ar_char":"\u003cstring\u003e","en_char":"\u003cstring\u003e","metadata":{"title":"\u003cstring\u003e","description":"\u003cstring\u003e","url":"\u003cstring\u003e"}},{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","description":"\u003cstring\u003e","banner":"\u003cstring\u003e","logo":"\u003cstring\u003e","ar_char":"\u003cstring\u003e","en_char":"\u003cstring\u003e","metadata":{"title":"\u003cstring\u003e","description":"\u003cstring\u003e","url":"\u003cstring\u003e"}}],"pagination":{"count":"\u003cnumber\u003e","total":"\u003cnumber\u003e","perPage":"\u003cnumber\u003e","currentPage":"\u003cnumber\u003e","totalPages":"\u003cnumber\u003e","links":{"next":"\u003cstring\u003e","previous":"\u003cstring\u003e"}}}