This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a resource's schedule
To update a resource's schedule to remove business hours and add custom hours:
scheduleId
from the availability.linkedSchedules
array."WORKING_HOURS"
to define the resource's new hours.To update a resource's schedule to add default business hours, and keep or remove custom hours:
scheduleId
to the availability.linkedSchedules
array."WORKING_HOURS"
.
You do not have to delete exiting custom sessions. Custom session that are not deleted will continue to be included in availability calculations and can still be booked.Notes:
"INDIVIDUAL"
, "GROUP"
, and "COURSE”
.businessLocation.businessSchedule
object in the schedule.location
object is not supported.Permissions: This endpoint requires the Manage Bookings permission scope.
You can only call this method when authenticated as a Wix app or Wix user identity.