Reviews > Product Reviews > productReviewsAnswersCreate
Commerce APIReviewsProduct ReviewsproductReviewsAnswersCreate
productReviewsAnswersCreate
POST:product_reviews/answers.json

Description

Create one or multiple product review answers.

Permission bit: "product_review_answers.create"

Topic: Product Reviews

Arguments

data: [AnswerCreate!]!

Main argument for mutations.


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