Reviews > Product Questions > storefrontProductQuestionsCreate
Storefront APIReviewsProduct QuestionsstorefrontProductQuestionsCreate
storefrontProductQuestionsCreate
POST:storefront/product_questions.json

Description

Create one or multiple product questions.

Topic: Product Questions

Arguments

data: [StorefrontProductQuestionCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

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_


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

[StorefrontProductQuestion!]

Preview (typescript)

Loading module