Reviews > Product Questions > productQuestionsAnswersModify
Commerce APIReviewsProduct QuestionsproductQuestionsAnswersModify
productQuestionsAnswersModify
POST:product_questions/answers.json

Description

Modify one or multiple product question answers.

Permission bit: "product_question_answers.modify"

Topic: Product Questions

Arguments

data: [AnswerModify!]!

Main argument for mutations.


ids: [String!]!

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

Example: ["aq_EQzGqWoY"]


question_id: String

Subject question identifier. See also: Unique Identifiers

Example: "qu_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

[ProductQuestionAnswer!]

Preview (typescript)

Loading module