Skip to content

🍽️ Restaurant Access

Before a restaurant appears in your list, its manager must first explicitly authorize your access from the Barestho back office. Without this agreement, the restaurant will not be visible, even if it is listed on the platform.

Once agreement is obtained, you can retrieve the list of your accessible restaurants via:

GET /api/v1/partnership/restaurants/?limit=10&offset=0 HTTP/1.1
Host: public.api.barestho.com
Authorization: Basic <base64(uuid:token)>

Response 200 OK:

{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 4,
"display_name": "Barestho Dev",
"schema_name": "barestho",
"address": "Boulevard Samain 67, 7000 Mons Belgium",
"website": "http://www.barestho.com",
"latitude": 50.4598685156642,
"longitude": 3.9279265707227755,
"timezone": "Europe/Brussels"
}
]
}