This article presents possible use cases that you could support, along with sample flows to implement each use case. These examples can serve as a helpful starting point as you plan your implementation.
By connecting a staff member to a Wix user, you enable them to manage their own working hour schedule in their dashboard.
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.By assigning a custom working hour schedule to a staff member, they can have different working hours than the business.
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 that you must specify the event schedule ID from step 1,
even though the method is called
Assign Working Hours Schedule to Staff Member.recurrenceRule
. Learn more about recurring events
(SDK | REST).