post https://api.momence.com/api/v2/host/sessions//waitlist/bookings
This endpoint allows staff user to add a member to a session waitlist
NOTE: You can use the optional useBoughtMembershipIds
field to provide a list of bought memberships that should be attempted to use during booking from the waitlist. If you don't provide anything here the best matching membership will be used automatically.
Error | Description |
---|---|
err-waitlist-not-allowed | session does not have waitlist enabled |
err-waitlist-full | session waitlist is full |
err-member-already-on-waitlist | member is already on the waitlist |
err-member-not-found | member not found |
err-member-not-assigned-to-host | member is not assigned to the host |
err-session-not-found | session not found |
err-session-not-provided-by-host | session not provided by the host |
err-customer-age-prevents-from-action | member is not eligible due to age restrictions |
err-missing-customer-date-of-birth | member is missing date of birth value |
err-missing-date-of-birth-setting | host is missing date of birth settings |
err-invalid-date-of-birth-value | member has invalid date of birth value |