Update booking question
update_booking_questionEdit a booking question (Pro). Omitted fields are left unchanged; the key never changes. isActive: false hides it from the form but keeps past answers (prefer this to delete_booking_question). Returns the updated question. Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Question shown to carriers. | |
| options | No | Choices for DROPDOWN; replaces the whole list. | |
| helpText | No | Hint shown under the question. | |
| isActive | No | false = hidden from the form, answers kept. | |
| required | No | Must be answered to book. | |
| fieldType | No | Answer input type. MULTI_TEXT holds a list, such as several PO numbers. | |
| locationId | Yes | Location id, from list_locations. | |
| questionId | Yes | Booking question id, from list_booking_questions. | |
| isReference | No | Treat the answer as a searchable reference number. |