GET /venue
The key's venue
Its name, page, timezone, languages, party limits, running services with their seating modes, policies, and the key itself. Any scope.
Parameters
| Name | In | Type | About |
|---|---|---|---|
locale | query | string | the language of the restaurant's textsValues: en, sv |
Answers
- 200The venue.Headers: X-RateLimit-Limit, X-RateLimit-Remaining
The answer's fields ({data: Venue})
dataVenuerequiredidstringrequirednamestringrequiredslugstringrequiredpublishedbooleanrequiredurlstring (uri)requiredcountrystringrequiredISO 3166-1 alpha-2
timezonestringrequiredcurrencystringrequiredISO 4217
default_localestringrequiredlocalesarray of stringrequiredaddressAddressrequiredstreetstring | nullrequiredpostal_codestring | nullrequiredcitystring | nullrequiredcountrystringrequired
phonestring | nullrequiredbooking_phonestring | nullrequiredemailstring | nullrequiredwebsitestring | nullrequiredparty_limitsPartyLimitsrequiredThe party sizes bookable online.
minintegerrequiredmaxintegerrequired
servicesarray of ServicerequiredidstringrequirednameText | nullrequiredtextstringrequired- Values:
localestringrequireden,sv
weekdaysarray of integer (1–7)requiredISO weekdays, Monday 1
startsstringrequiredendsstringrequiredlast_seatingstringrequiredmodestringrequiredrequest: bookings wait for the restaurant (status requested)
Values:auto,requestseatingstringrequiredthe seating choice a hold may make
Values:none,area,type,table
policiesobjectrequiredcancellation_hoursintegerrequiredlate_grace_minutesintegerrequiredno_show_fee_minorinteger | nullrequireddeposit_minorinteger | nullrequiredtextText | nullrequiredtextstringrequired- Values:
localestringrequireden,sv
keyobjectrequiredThe key this call was made with.
idstringrequirednamestringrequiredprefixstringrequiredthe key's first 12 characters
- Values:
scopesarray of stringrequiredavailability:read,bookings:read,bookings:write
- 401No key, an unknown or a revoked key (Headers: WWW-Authenticate
unauthenticated). - 402
plan_required(feature,plan: the venue's company is on the Start plan) orsubscription_inactive(status: its subscription is paused or canceled). - 403
scope(the key lacks the scope inrequired) orcompany_suspended. - 429Headers: Retry-After
rate_limited: more than 120 requests in a minute (retry_afterin seconds).