Category Children

GET {{baseUrl}}/categories/:category/children?page=1

You can return specific category children by providing the ID of the category you want to get its children in the category path parameter.

Note: This endpoint returns category children and their children (sub categories) if exist.

OAuth Scopes


categories.read

Request Params

KeyDatatypeRequiredDescription
pagenumberThe Pagination page number

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"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":[]}}