Modo Claro
Category Children
GET
/categories/{category}/childrenLast modified: a month ago
This endpoint allows you to return specific category children by passing the category
as a path parameter.
Request
Parâmetros Path
category
integer
requerido
The Category ID. List of Category ID can be found here
Parâmetros Query
page
integer
opcional
The Pagination page number
Request samples
Respostas
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
status
integer
opcional
Response Status Code
success
boolean
opcional
Whether or not the response is successful
data
array [object {5}]
opcional
id
integer
opcional
Category ID
name
string
opcional
Category Name
urls
object
opcional
sort_order
integer
opcional
Category Sort Order
items
array[string]
opcional
pagination
#/definitions/1397131opcional
Exemplo
{
"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: a month ago