Home > @vsf-enterprise/epcc-api > CatalogEndpoints > getProductsByNode
# CatalogEndpoints.getProductsByNode() method
Returns the products associated with the specified hierarchy node in the catalog. The product must be in the live status.
Signature:
getProductsByNode(context: ElasticPathIntegrationContext, params: GetProductsByNodeParams): Promise<ProductListResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | ElasticPathIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | GetProductsByNodeParams | ID of the hierarchy node and optional filter parameters can be passed in. |
Returns:
Promise<ProductListResponse>