The getCurrentCatalogRootCategories actor-chain obtains the current catalog.
Parameters: None
Get Current Catalog Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/custsvc/catalog/ ProductCatalogActor/getCurrentCatalogRootCategories"
The server response might be:
{"rootCategories": [
{
"id": "homeStoreNonNavigableProducts",
"description": "",
"defaultParentCategory": null,
"displayName": "Non Navigable Products",
"type": null
},
{
"id": "homeStoreRootCategory",
"description": null,
"defaultParentCategory": null,
"displayName": "Home Store Root",
"type": null
}
]}
