Set up location
set_up_locationConfigure an existing location in one call: scheduling settings, weekly hours, appointment types, and doors, applied together (a bad entry changes nothing). Every part is optional. Types and doors are matched by name: a name that already exists at the location is updated (and reactivated if it was inactive), a new one is created, and anything you leave out is untouched, so repeating the call is safe. Doors refer to types by name, so you don't need ids. It doesn't create the location itself (use create_location first). Prefer it for first-time setup or several changes at once; for a single change the focused tools are simpler: update_location_settings, set_weekly_hours, create_/update_appointment_type, create_/update_door. Returns the full setup and the booking-page checklist (bookingPage.problems is empty when carriers can book). Requires scope locations:write (Admin role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doors | No | Doors to create, or to update when the name already exists at the location. | |
| settings | No | Same fields as update_location_settings. Omitted fields are unchanged. | |
| locationId | Yes | Location id, from list_locations. | |
| weeklyHours | No | Days you leave out keep their hours; an empty windows list closes that day. | |
| appointmentTypes | No | Types to create, or to update when the name already exists at the location. |