Appearance
getCategoryProducts ​
Definition ​
Get default amount of products and listing configuration for given category
Signature ​
ts
export async function getCategoryProducts(
categoryId: string,
criteria?: ShopwareSearchParams,
contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<ProductListingResult>
Parameters ​
Name | Type | Description |
---|---|---|
categoryId | string | |
criteria | ShopwareSearchParams | |
contextInstance | ShopwareApiInstance |
Return type ​
ts
Promise<ProductListingResult>
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.