createStaffMember( )


Developer Preview

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

Creates a staff member.

By default any staff member that is created will be linked to the business working hours, allowing customers to book appointments with the staff based on the business working hours.

To modify the working hours of a staff member, use the AssignWorkingHoursSchedule API.

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
staffMemberStaffMemberRequired

Staff member to be created.


optionsCreateStaffMemberOptions

Options for creating the staff member.

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