Skip to content

SudoSOS Back-end API / catalogue/product-categories / ProductCategoryFilterParameters

Interface: ProductCategoryFilterParameters ​

Define productCategory filtering parameters used to filter query results.

Properties ​

id? ​

ts
optional id?: number;

Filter based on product id.


name? ​

ts
optional name?: string;

Filter based on product owner.


onlyLeaf? ​

ts
optional onlyLeaf?: boolean;

Whether to only return leaf categories (so categories without children)


onlyRoot? ​

ts
optional onlyRoot?: boolean;

Whether to only return root categories (so categories without parents)