v1
latestOpenAPI 3.0.02026-07-2673188210.8 KBhost
Add a member to a session waitlist
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 |
post/api/v2/host/sessions/{sessionId}/waitlist/bookings
Path parameters
sessionIdnumber required
Request body
Example request
{
"memberId": 1,
"useBoughtMembershipIds": [
2
]
}Response
Example response
{
"waitlistBookingId": 1
}