Order lifecycle
1. Receive new orders
Subscribe an endpoint toorder.created, order.updated, and order.cancelled. Each order.created event carries the full order, including items, modifiers, special instructions, and fulfillment details.
2. Route by station
Every item has astation. Send kitchen items to your kitchen display or kitchen management system and retail items to the pick list. Station assignment is configured per item in the Lula dashboard.
3. Accept and set prep time
4. Mark ready
order.updated events with fulfillment.courier.status. Delivery orders complete automatically after pickup. For pickup orders, call POST /orders/{order_id}/complete at handoff.
Adjusting an order
If an item is unavailable after the order is placed, remove it, reduce it, or substitute it. Totals are recalculated, the customer is notified on their channel, and the difference is refunded.Payment
Every order includes apayment object. Orders are paid before they reach the store, so payment.status is paid and your POS can release the order without collecting payment. Refunds from adjustments and cancellations update the status to partially_refunded or refunded.
Working alongside the store app
Your integration and the Lula store app can be used together. A clerk accepting an order on the tablet and your system accepting it through the API produce the sameorder.updated event, and a second accept returns 409 so nothing happens twice.
Modifier pricing
Modifier groups support minimum and maximum selections, pre-selected defaults, per-option prices, and a number of free selections. For example, a group withfree_selections: 2 includes the first two dips at no charge and charges each additional dip at its option price. The order shows the final price of each selection, so your kitchen and receipt systems never need to recompute it.
