This guide provides sample flows focusing on the technical details of managing staff members using the Staff Members API. These flows demonstrate common integration patterns and serve as a foundation for implementation.
To enable staff members to manage their own working hour schedule in their dashboard, connect a staff member to a Wix user.
To connect a staff member to a Wix user:
email,
specify that email address.ASSOCIATED_IDENTITY_STATUS in the fields parameter.
Check the value of the associatedWixIdentity.connection.status field.To create custom working hours that differ from the business default schedule, assign a custom working hour schedule to a staff member.
To assign a working hour schedule to a staff member:
RESOURCE_DETAILS in the fields parameter.
Save the relevant staff member ID and their resource.eventsSchedule.id.staffMemberId and
scheduleId. Note: The method requires the event schedule ID from step 1,
even though the method is called Assign Working Hours Schedule to Staff Member.