Add door
create_doorAdd a dock door. By default it takes every appointment type and follows the location's hours, so it can be created before any types exist. Optionally limit it to certain types or give it its own hours (see update_door); those limits apply only when the location assigns doors (assignDoors), not in capacity mode. To add types and doors together by name, use set_up_location. Returns the new door. Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Door name, e.g. "Door 4". | |
| locationId | Yes | Location id, from list_locations. | |
| weeklyHours | No | The door's own full week, clipped to the location's. Omit to follow the location's hours. | |
| appointmentTypeIds | No | Ids of the types this door takes (from list_appointment_types or get_location_setup). Omit or [] = every type, including types added later. |