Update door
update_doorEdit a dock door. Omitted fields are left unchanged. appointmentTypeIds limits which types it takes ([] = every type). weeklyHours gives the door its own full week of hours, always clipped to the location's (days you leave out are closed for this door); pass null to go back to the location's hours. Type limits and door hours apply only when the location assigns doors. isActive: false takes it out of service (there is no delete). Returns the updated door. Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New door name. | |
| doorId | Yes | Door id, from list_doors or get_location_setup. | |
| isActive | No | false = out of service; true = back in service. | |
| locationId | Yes | Location id, from list_locations. | |
| weeklyHours | No | The door's own full week, clipped to the location's. null = follow the location's hours. | |
| appointmentTypeIds | No | Ids of the types this door takes. [] = every type, including types added later. |