> ## 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.

# Menus, dayparts, and promotions

> Publish menus from your own menu system, and run the same deals on every channel.

Keep your menu system as the source of truth. Publish menus, dayparts, and promotions through the API, and Lula delivers them to your storefront and every marketplace, adapting each one to the channel's rules.

## Publish a menu

```bash theme={null}
curl -X POST https://api.lulacommerce.com/v1/menus \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "KITCHEN-2027-Q2",
    "name": "Kitchen",
    "dayparts": [
      { "name": "Breakfast", "days": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"], "start": "04:00", "end": "10:30" },
      { "name": "All day", "days": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"], "start": "00:00", "end": "24:00" },
      { "name": "Late night", "days": ["friday","saturday"], "start": "22:00", "end": "04:00" }
    ],
    "categories": [
      {
        "name": "Breakfast tacos",
        "daypart_names": ["Breakfast"],
        "items": [
          { "external_id": "KIT-2001", "station": "kitchen", "modifier_group_ids": ["mg_salsas"] }
        ]
      },
      {
        "name": "Taquitos",
        "daypart_names": ["All day"],
        "items": [
          { "external_id": "KIT-1042", "station": "kitchen", "modifier_group_ids": ["mg_dips"] }
        ]
      }
    ]
  }'
```

* Omit `store_ids` and `channels` to publish everywhere.
* Dayparts are in each store's local time and can cross midnight.
* Items keep their store-level price and availability; the menu decides where and when they appear.
* Lula emits `menu.published` for each store and channel, with any items a channel rejected and why.

Replace a menu with `PUT /menus/{menu_id}/publish`. Lula publishes only what changed.

## Modifier groups

Modifier groups support minimum and maximum selections, defaults, per-option pricing, and free selections. A dips group with `free_selections: 2` includes two dips and charges each extra at the option price, on every channel.

```json theme={null}
{
  "name": "Dipping sauces",
  "min_selections": 0,
  "max_selections": 4,
  "free_selections": 2,
  "options": [
    { "external_id": "DIP-QUESO", "name": "Queso", "price": { "amount": 75, "currency": "USD" } },
    { "external_id": "DIP-RANCH", "name": "Ranch", "price": { "amount": 50, "currency": "USD" } }
  ]
}
```

## Recipes, nutrition, and images

Send nutrition, allergens, an ingredients statement, and component links with each product (`POST /products/batch`). Point `images` at your own image CDN and Lula fetches, optimizes, and serves consistent images on every channel. Your image library stays the source of truth.

## Promotions and deal groups

Run one promotion everywhere it is supported:

| Type | Example |
| - | - |
| `percent_off` | 20% off breakfast tacos |
| `amount_off` | \$1 off any taquito order |
| `fixed_price` | Any pizza slice for \$2.49 |
| `bogo` | Buy one get one on energy drinks |
| `deal_group` | Any two fountain drinks for \$3 |

```json theme={null}
{
  "external_id": "DEAL-2027-031",
  "name": "Any 2 fountain drinks for $3",
  "type": "deal_group",
  "deal_group": {
    "item_external_ids": ["FTN-32", "FTN-44", "FTN-52"],
    "quantity": 2,
    "price": { "amount": 300, "currency": "USD" }
  },
  "daypart_names": ["Late night"],
  "starts_at": "2027-04-01T05:00:00Z",
  "ends_at": "2027-04-30T04:59:59Z"
}
```

Each promotion reports its status per channel in `channel_status`. If a marketplace cannot represent a promotion, it is marked `not_supported` with a reason, and `promotion.status_changed` lets you know right away instead of finding out from a customer.


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