Reviews > Product Questions > productQuestionsCreate
Commerce APIReviewsProduct QuestionsproductQuestionsCreate
productQuestionsCreate
POST:product_questions.json

Description

Create one or multiple product questions.

Permission bit: "product_questions.create"

Topic: Product Questions

Arguments

data: [ProductQuestionCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

customer_id: String

Unique customer identifier. See also: Unique Identifiers

Example: "cu_EQzGqWoY"

Valid when: customer_id matches regexp pattern: ^cu_


flag_ignore: Boolean

Whether flagging actions are ignored

Example: false


product_id: String!

A unique product identifier

Example: "pd_EQzGqWoY"

Valid when: product_id is not empty

Valid when: product_id matches regexp pattern: ^pd_


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