A complete category hierarchy with the path from root to leaf and the depth.
JSON example
{
"categoryId": "0ZGRM0000000Xyz1AA",
"depth": 2,
"path": [
{
"id": "0ZGRM0000000Root1AA",
"name": "All Products",
"parentCategoryId": null,
"level": 1
},
{
"id": "0ZGRM0000000Xyz1AA",
"name": "Beverages",
"parentCategoryId": "0ZGRM0000000Root1AA",
"level": 2
}
]
}
Properties
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
categoryId |
String | The ID of the leaf category. | Small, 68.0 | 68.0 |
depth |
Integer | The hierarchy depth, where 1 is the root, 2 is a child, and so on. | Small, 68.0 | 68.0 |
path |
Category Path Node Output[] | The complete path from the root category to this category. | Small, 68.0 | 68.0 |