The getCurrentCatalogRootCategories actor-chain looks at the user’s profile and obtains their current catalog and root categories.
Parameters: None
Get Current Catalog Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/catalog/ProductCatalogActor/ getCurrentCatalogRootCategories"
A typical server response may be similar to the following:
{"rootCategories": [
{
"id": "rootCategory",
"description": null,
"defaultParentCategory": null,
"displayName": "Commerce Root",
"type": null
},
{
"id": "NonNavigableProducts",
"description": "",
"defaultParentCategory": null,
"displayName": "Non Navigable Products",
"type": null
}
]}
