Your first integration.
From a scoped API key to a connected order workflow.
1. Create a scoped key#
Sign in to the Business Owner dashboard with permission to manage API keys. Create a restaurant-scoped key in API Management. Choose only the scopes your backend needs, set an expiry, and store the one-time token in your server’s secret store.
For this walkthrough, use branches.read, orders.read and orders.write. A key belongs to one restaurant.
2. Select a branch#
Call GET /api/v1/branches. Select an entry with status: active and use its ID when creating orders.
3. Create an order#
Call POST /api/v1/orders from your backend. Supply a unique POS reference, branch ID, customer name and total. The new order starts pending.
Store the returned order ID and version alongside your POS record. The API does not provide a general idempotency header. After an ambiguous timeout, reconcile existing records before repeating creation.
4. Move through the lifecycle#
Fetch the current order, then PATCH its status with that version. Progress through accepted → preparing → ready → completed. A cancellation is subject to platform settings. On 409, retrieve the latest order and reconsider the intended transition.
5. Stay synchronized#
Configure a signed webhook in the dashboard. Verify requests, deduplicate deliveries, queue work, and retrieve the current resource. Reconcile periodically to recover from missed events.