admin

Update Question Full

Fully update a question template (all fields required). Requires admin privileges.

put/admin/questions/{question_id}

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

question_idstring uuid required

Request body

product_type'jewelry' | 'clothes' required
phasestring required
question_textstring required
input_type'text' | 'yes_no' | 'multiple_choice' | 'file_upload' | 'number' | 'textarea' | 'checkbox' required
validation_rulesobject nullable
orderinteger required
depends_on_question_idstring uuid nullable
depends_on_answerstring nullable
placeholderstring nullable
help_textstring nullable
help_display'link' | 'inline'
i18nobject nullable

Example request

{
  "question_text": "What size do you need?"
}

Response

Successful Response

product_type'jewelry' | 'clothes' required
phasestring required
question_textstring required
input_type'text' | 'yes_no' | 'multiple_choice' | 'file_upload' | 'number' | 'textarea' | 'checkbox' required
validation_rulesobject nullable
orderinteger required
depends_on_question_idstring uuid nullable
depends_on_answerstring nullable
placeholderstring nullable
help_textstring nullable
help_display'link' | 'inline'
idstring uuid required
created_atstring date-time required

Example response

{
  "question_text": "What size do you need?"
}

Changes

No recorded changes to this operation across all 1 revision of this API.