Waitlist
Estimate the wait
The wait a new party of `party_size` would be quoted now: the parties ahead that compete for the same tables and a minutes band, never a single number.
Esta página aún no está disponible en tu idioma.
https://api.maple.inc/v1/locations/{locationId}/waitlist_estimateAPI keyThe wait a new party of party_size would be quoted now: the parties ahead that compete for the same tables and a minutes band, never a single number. Parties above 50 answer 422 party_size_out_of_bounds. Requires bookings:read.
Authorization
Send your API key as Authorization: Bearer <key>: mpk_test_… against the sandbox (https://api.staging.maple.inc/v1), mpk_live_… against production. See Authentication. The samples read the key from MAPLE_KEY and the base URL from MAPLE_BASE, as set up in the Quickstart.
Parameters
-
locationIdstring required -
party_sizestring required
Responses
200 OK
-
objectstring requiredAlways
waitlist_estimate. -
location_idstring required -
livemodeboolean required -
party_sizeinteger required -
parties_aheadinteger required -
wait_minutesobject required -
wait_minutes.mininteger required -
wait_minutes.maxinteger required
Errors
-
400Bad request -
401Unauthorized -
403Forbidden -
404Not found -
422Unprocessable -
429Too many requests
Every error body names the error in _tag, explains it in message, and says where to report it in feedback. See Errors.
A 429 also sends Retry-After: Seconds to wait before retrying; also returned as retry_after in the body.