Storefront API
The Storefront API lets you build your own webshop on top of a Unipage restaurant: your own UI, with Unipage as the source of truth for the catalog, opening hours, order slots, prices and orders.
The restaurant is resolved from your key: there is no restaurant id in the URL. Read routes and the quote take the public key from the browser; placing and reading orders take the secret key from your server. See Keys and CORS.
The schedule and the quote are computed by the same code that validates and prices an order: the slots you show are the slots an order accepts, and the quote is the amount the order charges.
Money is a number in the restaurant's currency (EUR). at is a UTC unix
timestamp in seconds; date (YYYY-MM-DD) and time (HH:MM) are in
the restaurant's timezone. All ids are opaque strings: do not parse them.
Unipage can also push your orders to you as they change. See Order webhooks.