Assign provider
assign_providerAssigns a provider or team to a booking, or to its entire recurring schedule, returning the updated booking and refusing unavailable providers unless overridden.
Instructions
Assign a provider or team to a booking, or to its whole recurring schedule.
Puts the provider on the booking, as Assign in the booking's sidebar does, and returns the booking as get_booking shows it. BookingKoala tells the provider about the job. A provider who is not available at that time is refused unless even_if_unavailable is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | Booking id from list_bookings. | |
| provider_id | Yes | Provider or team id from list_providers. | |
| whole_schedule | No | Assign every later booking of the recurring schedule too. Default: false. | |
| even_if_unavailable | No | Assign although the provider is not available then. Default: false. |