Skip to main content

This type contains information about all nodes of a category tree or subtree hierarchy, including and below the specified Category, down to the leaf nodes. It is a recursive structure.

Types that use CategoryTreeNode

CategorySubtreeCategoryTree

Calls that use CategoryTreeNode

Fields

Field
Type
Description
category
Contains details about the current category tree node.
categoryTreeNodeLevel
The absolute level of the current category tree node in the hierarchy of its category tree.

Note: The root node of any full category tree is always at level 0.
childCategoryTreeNodes
An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.

Returned only if the current category tree node is not a leaf node (the value of leafCategoryTreeNode is false).
leafCategoryTreeNode
A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.

Returned only if the value of this field is true.
parentCategoryTreeNodeHref
The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.

Not returned if the current category tree node is the root node of its tree.

Got thoughts? Click the feedback button – your insights help us improve!