/restaurantGet the place
The place the key belongs to: currency, time zone, languages, links and its loyalty program. Handy as a first call to check a key.
Escopo: restaurant:read
curl https://scanly.app/api/v1/restaurant \
-H "Authorization: Bearer $SCANLY_KEY"Resposta · 200
{
"object": "restaurant",
"id": "4f8a2c1e-9b7d-4e3a-8c6f-2d1b0a9e8f7c",
"name": "Olga Petrova",
"kind": "beauty",
"currency": "EUR",
"timezone": "Europe/Berlin",
"locales": [
"en"
],
"address": "…",
"menu_url": "https://studio-bloom.guests.menu",
"booking_url": "https://studio-bloom.guests.place",
"plan": "free",
"livemode": true,
"booking_enabled": false,
"loyalty_program": {
"type": "points",
"enabled": false,
"stamps_required": 1,
"cashback_percent": 1,
"discount_tiers": [
{
"min_spend": 1,
"percent": 10
}
]
}
}