Light Mode
Category Children
GET
/categories/{category}/childrenLast modified: 22 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
Unique identifiers assigned to a Category. List of Category IDs can be found here.
Query Params
page
integer
optional
The Pagination page number
Request samples
Responses
Success(200)
Not Found(404)
Unauthorized(401)
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: 22 days ago