Reviews > Product Reviews > productReviewsModify
Commerce APIReviewsProduct ReviewsproductReviewsModify
productReviewsModify
POST:product_reviews.json

Description

Modify one or multiple product reviews.

Permission bit: "product_reviews.modify"

Topic: Product Reviews

Arguments

data: [ProductReviewModify!]!

Main argument for mutations.


ids: [String!]!

List of product review ids. See also: Unique Identifiers

Example: ["re_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

flag_ignore: Boolean

Whether flagging actions are ignored

Example: false


image_file_ids: [String!]


recommended: StorefrontCustomerVote

Whether customer voted or not and how


scores: [ProductReviewScoreCreate!]


status: ApprovalStatus

Publishing approval status


survey_answers: [ProductReviewSurveyAnswerCreate!]


text: String

Text of the review

Example: "Great product!"

Valid when: text is not empty

Valid when: text's length doesn't exceed 100000 characters


title: String

Title of the review

Example: "Amazing!"

Valid when: title is not empty

Valid when: title's length doesn't exceed 250 characters


Result

[ProductReview!]

Preview (typescript)

Loading module