Light Mode
Categories Search
GET
/categories/searchLast modified: 16 days ago
This endpoint allows you to search through existing categories using keywords (a.k.a name of the category) as well as an array of Category IDs
Request
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 558898595,
"name": "الفساتين",
"urls": {
"customer": "https://salla.sa/dev-k9dn7fok0vih4p70/category/mENQjb",
"admin": "https://s.salla.sa/categories"
},
"parent_id": 0,
"status": "active",
"sort_order": 0,
"update_at": "2024-10-02 13:10:17",
"metadata": {
"title": "dresses",
"description": "dresses",
"url": "dresses"
}
},
{
"id": 1181713494,
"name": "البلايز",
"urls": {
"customer": "https://salla.sa/dev-k9dn7fok0vih4p70/category/NDYwBg",
"admin": "https://s.salla.sa/categories"
},
"parent_id": 0,
"status": "hidden",
"sort_order": 2,
"update_at": "2024-02-05 16:33:11",
"metadata": {
"title": "tshirts",
"description": "tshirts",
"url": "tshirts"
}
}
],
"pagination": {
"count": 2,
"total": 2,
"perPage": 20,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
Last modified: 16 days ago