@plentymarkets/shop-api / setReview
Function: setReview() ​
Method setReview - Used to save changes on a product review.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: UpdateReviewParams
feedbackId: id of the product review.
Returns ​
Remarks ​
- Calls '/rest/feedbacks/feedback/update/' + params.feedbackId
- Method saves changes on a product review.
Example ​
ts
const { data } = await useSdk().plentysystems.setReview({
message: params.message,
title: params.title,
ratingValue: params.ratingValue
});