admin

Reorder Questions

Bulk update question order numbers with automatic normalization. Requires admin privileges.

patch/admin/questions/reorder

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

Request body

product_type'jewelry' | 'clothes' required
phasestring nullable

Optional phase filter. If provided, only questions in this phase are normalized.

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.