Home > @vsf-enterprise/sapcc-api > Endpoints > getCategory

Endpoints.getCategory() method

Returns a category by id.

Signature:

getCategory(context: SapccIntegrationContext, props: GetCategoryProps): Promise<CategoryHierarchy>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GetCategoryProps An object which contains necessary properties for getting a category.

Returns:

Promise<CategoryHierarchy>