Home > @vsf-enterprise/sapcc-api > Endpoints > createProductReview
Endpoints.createProductReview() method
Creates a new review for product.
Signature:
createProductReview(context: SapccIntegrationContext, props: CreateProductReviewProps): Promise<Review>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
| props | CreateProductReviewProps | An object which contains necessary properties for creating a product review. |
Returns:
Promise<Review>