Skip to content

Storefront API

Build your own webshop on top of a Unipage restaurant.

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.

Base URLtxt
https://api.unipage.eu/storefront/v1

The restaurant is resolved from your key: there is no restaurant id in the URL. See Keys and CORS.

Routes

Route Key
GET /store public Get the store
GET /menu?orderType=&at= public Get the menu
GET /products/{id}?orderType=&at= public Get a product
GET /schedule?orderType=&days=&products= public Get the schedule
POST /cart/quote public Quote a cart
POST /orders secret Create an order
GET /orders/{id} secret Get an order

Public key routes are called from the browser. Secret key routes are called from your server. Unipage can also push your orders to your server as they are paid and prepared.

Conventions

  • Money is a number in the restaurant’s currency (EUR): 4.5.
  • at is a UTC unix timestamp in seconds; date is YYYY-MM-DD and time is HH:MM, both in the restaurant’s timezone.
  • All ids are opaque strings. Do not parse them.

Next steps

Type to search…

↑↓ navigate↵ selectEsc close