Reviews > Survey Questions > surveyQuestionsModify
Commerce APIReviewsSurvey QuestionssurveyQuestionsModify
surveyQuestionsModify
POST:survey_questions.json

Description

Modify one or multiple survey questions.

Permission bit: "survey_questions.modify"

Topic: Survey Questions

Arguments

data: [SurveyQuestionModify!]!

Main argument for mutations.


ids: [String!]!

List of survey question ids. See also: Unique Identifiers

Example: ["sq_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

answers: [String!]


kind: SurveyQuestionKind

A kind of a survey question


meta: String

Metadata of the option

Example: "gauge"

Valid when: meta's length doesn't exceed 250 characters


name: String

The survey question itself

Translatable

Example: "Sizing"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


Result

[SurveyQuestion!]

Preview (typescript)

Loading module