Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Leave Waitlist

Developer Preview

Removes a site member's registration to a waitlist (and cancels the associated pending-state booking).
If a spot has become available for booking and the server is SUGGESTING registration to waitlist registrants, the next member registered to the waitlist will receive an invitation to the opened spot.

Permissions
This endpoint requires the Manage Bookings permissions scope

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

POST

https://www.wixapis.com/bookings/v1/waitlist/leave

Body Params

NAME
TYPE
DESCRIPTION
registrationId
Required

string

waitingResource
Required

string

Response Object

NAME
TYPE
DESCRIPTION
registrationId

string

waitingResource

string

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Leave waitlist

Removes a site member's registration to a waitlist by the registration Id.

Request

curl

Copy Code
1curl --X POST /
2 'https://www.wixapis.com/bookings/v1/waitlist/leave' \
3 -H 'Authorization: <AUTH>'
4 --data '{
5 "registrationId" : "f0213bd9-a663-40d4-9b07-25832d17d33e",
6 "waitingResource": "193ZPR9ppP9emJUCLevcLf6orynNEIDt5nc0520xjGQILnPPaF5s62yK3BWz7ExgIRM1VRioAcbF7zzwvoBTEIScx8fykHVtU2r5GoJrd7PuRidnB3zvYGeB6vu46SF7RN6M20Jg3OP1PZhRjhbotC5iz5mBXEncK2sHCaVgGczVpDEUts19ULscMtZ8dzmp6Hd6caRs6g5UcGtKSnvH5KJPYdojijsgantqsSTmFokncR3Y5PHqiIRaLeERqoPVfZbwXR7nJIOAe5EjjoMPFhRTOoczpbq9zjDLsREsYtStLaYvO2zhufHEWlp5Gq7mB9cXh1UmPbR7rp"
7 }'

Response

json

1
2{
3 "registrationId": "f0213bd9-a663-40d4-9b07-25832d17d33e",
4 "waitingResource": ""
5}