Get child categories based on the parent category unique ID
The following example shows how to get child categories based on the parent category unique ID.
Request
http://localhost/search/resources/store/10001/categoryview/byParentCategory/10001?langId=-1&catalogId=10001¤cy=USD&responseFormat=json
Response
{
"catalogGroupView": [
{
"childCatalogGroupID": [
"10001_10020",
"10001_10021",
"10001_10022",
"10001_10023"
],
"identifier": "Girls",
"name": "Girls",
"parentCatalogGroupID": "10001",
"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10005",
"shortDescription": "Girls",
"storeID": "10001",
"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/apparel\/girls\/category\/catr_app_girls.png",
"uniqueID": "10005"
},
{
"childCatalogGroupID": [
"10001_10024",
"10001_10025",
"10001_10026"
],
"identifier": "Boys",
"name": "Boys",
"parentCatalogGroupID": "10001",
"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10004",
"shortDescription": "boys",
"storeID": "10001",
"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/apparel\/boys\/category\/catr_app_boys.png",
"uniqueID": "10004"
},
{
"childCatalogGroupID": [
"10001_10006",
"10001_10007",
"10001_10008",
"10001_10009",
"10001_10010",
"10001_10011",
"10001_10012",
"10001_10013"
],
"identifier": "Women",
"name": "Women",
"parentCatalogGroupID": "10001",
"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10003",
"shortDescription": "Women",
"storeID": "10001",
"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/apparel\/women\/category\/catr_app_women.png",
"uniqueID": "10003"
},
{
"childCatalogGroupID": [
"10001_10014",
"10001_10015",
"10001_10016",
"10001_10017",
"10001_10018",
"10001_10019"
],
"identifier": "Men",
"name": "Men",
"parentCatalogGroupID": "10001",
"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10002",
"shortDescription": "Men",
"storeID": "10001",
"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/apparel\/men\/category\/catr_app_men.png",
"uniqueID": "10002"
}
],
"recordSetComplete": "true",
"recordSetCount": 4,
"recordSetStartNumber": 0,
"recordSetTotal": 4,
"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byParentCategory\/10001?langId=-1&catalogId=10001¤cy=USD&responseFormat=json",
"resourceName": "categoryview"
}