This is the interface object to be used by Root Categories and Category Tree APIs for Visual Studio Ide.

interface ProductCategory {
    children?: ProductCategory[];
    hasChildren?: boolean;
    id?: string;
    title?: string;
}

Properties

children?: ProductCategory[]
hasChildren?: boolean

Indicator whether this is a leaf or there are children under this category

id?: string

Individual Guid of the Category

title?: string

Category Title in the requested language