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.
Parametrar
| Namn | I | Typ | Om |
|---|---|---|---|
locale | fråga | string | the language of the restaurant's textsVärden: en, sv |
Svar
- 200The venue.Huvuden: X-RateLimit-Limit, X-RateLimit-Remaining
Svarets fält ({data: Venue})
dataVenuekrävsidstringkrävsnamestringkrävsslugstringkrävspublishedbooleankrävsurlstring (uri)krävscountrystringkrävsISO 3166-1 alpha-2
timezonestringkrävscurrencystringkrävsISO 4217
default_localestringkrävslocalesarray of stringkrävsaddressAddresskrävsstreetstring | nullkrävspostal_codestring | nullkrävscitystring | nullkrävscountrystringkrävs
phonestring | nullkrävsbooking_phonestring | nullkrävsemailstring | nullkrävswebsitestring | nullkrävsparty_limitsPartyLimitskrävsThe party sizes bookable online.
minintegerkrävsmaxintegerkrävs
servicesarray of ServicekrävsidstringkrävsnameText | nullkrävstextstringkrävs- Värden:
localestringkrävsen,sv
weekdaysarray of integer (1–7)krävsISO weekdays, Monday 1
startsstringkrävsendsstringkrävslast_seatingstringkrävsmodestringkrävsrequest: bookings wait for the restaurant (status requested)
Värden:auto,requestseatingstringkrävsthe seating choice a hold may make
Värden:none,area,type,table
policiesobjectkrävscancellation_hoursintegerkrävslate_grace_minutesintegerkrävsno_show_fee_minorinteger | nullkrävsdeposit_minorinteger | nullkrävstextText | nullkrävstextstringkrävs- Värden:
localestringkrävsen,sv
keyobjectkrävsThe key this call was made with.
idstringkrävsnamestringkrävsprefixstringkrävsthe key's first 12 characters
- Värden:
scopesarray of stringkrävsavailability:read,bookings:read,bookings:write
- 401No key, an unknown or a revoked key (Huvuden: 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. - 429Huvuden: Retry-After
rate_limited: more than 120 requests in a minute (retry_afterin seconds).