Skip to navigation

Get the restaurant

Returns the restaurant’s public profile: name, branding (logo, colors, font), contact details, visiting address, capabilities, current preparation time and the newsletter popup. Use it for headers, footers and contact pages; it is much smaller than GET /menu.

  • restaurant.capabilities is the stable, dashboard-controlled answer to what the restaurant offers: pickup, delivery, reservations and payment. The older restaurant.payment object is kept for existing clients.
  • restaurant.address is the visiting address, or null. See Address.
  • restaurant.newsletterPopup is set when the popup is enabled and linked to an active coupon, otherwise null. The coupon code is never included here; POST /newsletter/signup returns it.
  • restaurant.prepTime includes rush, but this response is cached at the edge (60 s, plus 600 s stale-while-revalidate). Show the number from GET /prep-time in checkout.
  • defaultPrepMinutes and defaultDeliveryMinutes are base times without rush. Do not show them directly.

Authentication

AuthorizationBearer

Either this or a trusted browser origin. The restaurant’s API key, sent as Authorization: Bearer lbs_…. Use it from your server only, never in browser code. Keys are issued per restaurant by LettBestilt.

OR
Originstring

Either this or an API key. No key is needed when the request’s Origin header is trusted for this restaurant: https://{slug}.lettbestilt.no, a verified domain of the restaurant, or a partner origin LettBestilt has bound to the restaurant. Browsers set Origin themselves; it is not something you configure. Not accepted by GET /site-gate, which requires an API key.

Query parameters

slugstringRequired

The restaurant’s slug, which is also its LettBestilt subdomain ({slug}.lettbestilt.no).

Response

The restaurant.
restaurantobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error