Hello @jop ,
I would suggest you add "staffMemberIds"
in the body while creating the booking Appointment.
Using the API POST https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/<UPN>/appointments
After creating the Appointment, change the customer and run the endpoint again for the same start date time and end date time and the appointment and validate if you are able to create the appointment.
Hope this helps!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".