assignWorkingHoursSchedule( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Assigns a custom working hours schedule to the staff member

Copy
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

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

Id of the staff member to assign the schedule to.


scheduleIdstringRequired

Id of a schedule to assign to the staff's working hours schedule.


optionsAssignWorkingHoursScheduleOptions

Options for setting the staff member's working hours schedule.

Returns
Return Type:Promise<AssignWorkingHoursScheduleResponse>
Did this help?