Home > @vsf-enterprise/epcc-api > CatalogEndpoints > getHierarchyChildren

# CatalogEndpoints.getHierarchyChildren() method

Returns the child nodes for the root node of the specified hierarchy.

Signature:

getHierarchyChildren(context: ElasticPathIntegrationContext, params: GetHierarchyChildrenParams): Promise<Node[]>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params GetHierarchyChildrenParams An object which contains necessary properties for getting the children of a hierarchy.

Returns:

Promise<Node[]>