> ## Documentation Index
> Fetch the complete documentation index at: https://platform.lulacommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data exchange patterns

> How each system in your ecosystem connects to Lula: real time, scheduled, or on demand.

Most retailers with food service already run a set of systems, each owning one domain: a menu system, an ingredient or inventory system, pricing and promotions, an order API feeding a kitchen PC, kitchen displays, a POS, and finance. Lula connects to each one using the pattern that fits it.

> [card] Real time
>
> Events as they happen: orders, availability, store status. Webhooks, order destinations, and immediate API calls.

> [card] Scheduled / batch
>
> Bulk data on a cadence: nightly catalog true-ups, menu publishes, weekly reconciliation files.

> [card] On demand
>
> Queries when you need them: reports, order lookups, event history, sandbox tests.

## System by system

| Your system | Data | Pattern | Lula interface |
| - | - | - | - |
| Menu administration | Menus, categories, dayparts, modifier rules | Scheduled, on change | [`POST /menus`](https://platform.lulacommerce.com/guides/menus-and-promotions), `PUT /menus/{id}/publish` |
| Recipes and nutrition | Ingredients, nutrition, allergens | Scheduled | `POST /products/batch`, `POST /components` |
| Digital asset management / image CDN | Product images | Scheduled | Image URLs on each product; Lula fetches and optimizes |
| Pricing and promotions | Prices, deal groups | Real time or scheduled | `PATCH /stores/{id}/items/{external_id}`, [`POST /promotions`](https://platform.lulacommerce.com/guides/menus-and-promotions#promotions-and-deal-groups) |
| Ingredient / inventory hub | What can be made right now | Real time | [`POST /availability`](https://platform.lulacommerce.com/guides/real-time-availability) with `component_ids` |
| Order API and kitchen PC | New orders | Real time | [Order destinations](https://platform.lulacommerce.com/guides/order-destinations.md) or `order.created` webhooks |
| Kitchen PC | Accepted, ready, completed | Real time | `POST /orders/{id}/accept`, `/ready`, `/complete` |
| Service center | Cancels and voids | Real time | `POST /orders/{id}/cancel`, `order.cancelled` |
| POS | Payment status | Real time | `payment` on every order |
| Operations | Pause, hours, throttling | Real time | [Store controls](https://platform.lulacommerce.com/guides/store-controls.md), [capacity](https://platform.lulacommerce.com/guides/kitchen-capacity.md) |
| Finance and accounting | Sales, reconciliation, payouts | Scheduled | [Data feeds](https://platform.lulacommerce.com/guides/sales-and-reconciliation.md) to S3 or SFTP |
| Analytics and AI assistants | Any of the above | On demand | Reporting API, [MCP server](https://platform.lulacommerce.com/guides/mcp.md) |

## Reference architecture

```mermaid theme={null}
flowchart LR
  subgraph Retailer
    MENU[Menu admin]
    ING[Ingredient hub]
    PRICE[Pricing and promotions]
    OAPI[Order API]
    KPC[Kitchen PC]
    FIN[Finance]
  end
  subgraph Lula
    API[Lula Commerce API]
  end
  subgraph Channels
    LD[Lula Direct]
    MP[DoorDash, Uber Eats, Grubhub]
  end
  MENU -- menus, dayparts --> API
  PRICE -- prices, deals --> API
  ING -- availability, real time --> API
  API <--> LD
  API <--> MP
  API -- orders, real time --> OAPI --> KPC
  KPC -- status, real time --> API
  API -- weekly files --> FIN
```

Lula never needs direct access to your databases or in-store machines. Every connection is an authenticated HTTPS call or a file delivered to a location you control.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.