updateSchedule( )


Updates a resource's schedule.

The updateSchedule() function returns a Promise that resolves when a resource's schedule has been updated. Use this function to update the bookings resource's schedule. To update other resource details use updateResource().

Notes:

  • A resource can have one schedule only.
  • When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values "INDIVIDUAL", "GROUP", and "COURSE".
Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Bookings
Manage Bookings - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
resourceIdstringRequired

Resource ID to update.


scheduleScheduleRequired

Schedule to update.


optionsUpdateScheduleOptions
Returns
Return Type:Promise<UpdateScheduleResponse>
Was this helpful?
Yes
No