Reviews > Product Reviews > storefrontProductReviewsModify
POST:storefront/product_reviews.json
Description
Modify one or multiple product reviews.
Topic: Product Reviews
Arguments
data: [StorefrontProductReviewModify!]!
Main argument for mutations.
List of product review ids. See also: Unique Identifiers
Example: ["re_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
recommended: StorefrontCustomerVote
Whether customer voted or not and how
scores: [ProductReviewScoreCreate!]
survey_answers: [ProductReviewSurveyAnswerCreate!]
Text of the review
Example: "Great product!"
Valid when: text is not empty
Valid when: text's length doesn't exceed 100000 characters
Title of the review
Example: "Amazing!"
Valid when: title is not empty
Valid when: title's length doesn't exceed 250 characters
Result
Preview (typescript)
Loading module