Appearance
getProductReviews ​
Definition ​
Get product reviews
Signature ​
ts
export async function getProductReviews(
  productId: string,
  criteria?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
) 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| productId | string | |
| criteria | ShopwareSearchParams | |
| contextInstance | ShopwareApiInstance | 
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.