The Staff Members API provides developers with a set of tools to manage the staff members who deliver booking services on a Wix site.
With the StaffMembersService API, your app can create, update, delete, and query staff members, as well as connect and disconnect staff members to and from Wix users. The API also allows you to assign working hours schedules to staff members, enabling them to manage their availability for bookings.
It’s important to note the following points before starting to code:
- Ensure that the Wix Bookings app is installed and configured on the site before using this API.
- Every staff member is created with an associated Resource. The resource is a key entity that connects staff members to the Wix Bookings calendar, allowing them to manage their availability and booked sessions.
- The associated resource is managed (created, updated and deleted) by the Staff Members API, and no additional API is required to manage staff related resources.
- Staff Member: An individual who provides booking services on the site.
- Resource: An entity associated with a staff member, required for integration with the booking calendar.
- Working Hours Schedule: The schedule that defines when a staff member is available for bookings.
- User: A Wix user with access to a site, which may be associated with a Wix Bookings staff member.
For a comprehensive glossary of Wix Bookings terms, see Terminology