Light Mode
Category Children
GET
/categories/{category}/childrenLast modified: 16 days ago
This endpoint allows you to return specific category children by passing the category
as a path parameter.
Request
Path Params
category
integer
required
The Category ID. List of Category ID can be found here
Query Params
page
integer
optional
The Pagination page number
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
integer
optional
Response Status Code
success
boolean
optional
Whether or not the response is successful
data
array [object {5}]
optional
id
integer
optional
Category ID
name
string
optional
Category Name
urls
object
optional
sort_order
integer
optional
Category Sort Order
items
array[string]
optional
pagination
#/definitions/1397131optional
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1255216786,
"name": "فواكه صيفية",
"urls": {
"customer": "https://shtara.com/profile",
"admin": "https://shtara.com/profile"
},
"sort_order": 1,
"items": []
}
],
"pagination": {
"count": 1,
"total": 1,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
Last modified: 16 days ago