Skip to content
Navigation

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.

Store

The restaurant behind your key.

Menu

Categories, products and option groups.

Schedule

Selectable pickup and delivery slots.

Cart

Price a cart before checkout.

Orders

Place and read orders. Secret key only, from your server.

Webhooks

Order events Unipage sends to your storefront's webhook URL.

Webhooks

Type to search…

↑↓ navigate↵ selectEsc close