@plentymarkets/shop-api / doReview
Function: doReview() ​
Method doReview - Create a new product review.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: CreateReviewParams
Returns ​
Remarks ​
- Calls /rest/feedbacks/feedback/create
- This method is used to create a new product review.
Example ​
ts
const { data } = await useSdk().plentysystems.doReview({
ratingValue: 3,
authorName: 'John Doe',
title: 'Great product',
message: 'That's an awesome product',
type: 'review',
targetId: 1890,
honeypot: '',
titleMissing: false,
ratingMissing: false,
});