Skip to content

Retrieve a restaurant

GET
/api/v1/partnership/restaurants/{id}/
curl --request GET \
--url https://public.api.barestho.com/api/v1/partnership/restaurants/example/ \
--header 'Authorization: Basic <credentials>'

Returns the full details of a single restaurant identified by its unique ID. Useful for refreshing cached restaurant data or retrieving location and timezone information before booking a reservation.

id
required
string

The unique identifier of the restaurant.

The requested restaurant object.

Media type application/json

Represents a restaurant that is accessible to the authenticated partner. All fields except schema_name are read-only and managed by the restaurant owner on the Barestho platform.

object
id

Unique numeric identifier for the restaurant, assigned by the server.

integer
display_name

Human-readable name of the restaurant as configured by its owner.

string
schema_name
required

Internal tenant identifier used to scope database queries. This value is assigned during restaurant onboarding and must be unique across the platform. Maximum length is 63 characters.

string
<= 63 characters
address

Full postal address of the restaurant.

string
website

URL of the restaurant’s public website, if provided.

string
latitude

Geographic latitude of the restaurant location (WGS 84 decimal degrees).

number format: float
longitude

Geographic longitude of the restaurant location (WGS 84 decimal degrees).

number format: float
timezone

IANA timezone identifier for the restaurant (e.g. Europe/Paris). All reservation start_time values should be interpreted in this timezone.

string
Example generated
{
"schema_name": "example"
}

Not found.