Logo
maya API Documentation

Get list of categories by parent ID and level

GET {{baseUrl}}/categories/parent/:parent/level/:level

Service urls:
http://yourdomain.com/api/rest/categories/parent/{parent_id}/level/{level}
OR
http://yourdomain.com/index.php?route=feed/rest_api/categories&parent={parent_id}&level={level}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "success": 1, "error": [ "Error description", "Error description" ], "data": {} }



Curl
curl -X GET 'https://api.opencart-api.com/api/rest/categories/parent/:parent/level/:level' -H 'Accept: application/json'

ENDPOINTS