Reviews > Product Questions > productQuestionsModify
Commerce APIReviewsProduct QuestionsproductQuestionsModify
productQuestionsModify
POST:product_questions.json

Description

Modify one or multiple product questions.

Permission bit: "product_questions.modify"

Topic: Product Questions

Arguments

data: [ProductQuestionModify!]!

Main argument for mutations.


ids: [String!]!

List of product question ids. 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 question

Example: "Great product!"

Valid when: text is not empty

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


Result

[ProductQuestion!]

Preview (typescript)

Loading module