Reviews > Product Reviews > productReviewsAnswersModify
Commerce APIReviewsProduct ReviewsproductReviewsAnswersModify
productReviewsAnswersModify
POST:product_reviews/answers.json

Description

Modify one or multiple product review answers.

Permission bit: "product_review_answers.modify"

Topic: Product Reviews

Arguments

data: [AnswerModify!]!

Main argument for mutations.


ids: [String!]!

List of product review answer ids. See also: Unique Identifiers

Example: ["aw_EQzGqWoY"]


review_id: String

Subject review identifier. 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


status: ApprovalStatus

Publishing approval status


text: String

Text of the answer

Example: "Great product!"

Valid when: text is not empty

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


Result

[ProductReviewAnswer!]

Preview (typescript)

Loading module