Add booking question
create_booking_questionAdd a question to an appointment type's booking form (Pro). DROPDOWN needs options. key is how the answer is stored (customFields.{key} on appointments); it defaults to the camelCased label and can't change later. isReference makes the answer a reference number, searchable in the appointments list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Letters and numbers, starting with a letter. | |
| label | Yes | ||
| options | No | ||
| helpText | No | ||
| required | No | ||
| fieldType | Yes | ||
| locationId | Yes | ||
| isReference | No | ||
| appointmentTypeId | Yes |