HAAT Integration Docs

Get menu from HAAT

Read the menu HAAT stores for a business.

GET/api/pos/business/{businessId}/menu

You call HAAT with X-Api-Key and get the menu for one business.

For the reverse flow (HAAT pulls from your POS), see Get menu from POS.

Example:

X-Api-Key: YOUR_API_KEY
PATH SCHEMA
businessIdrequired
integer

HAAT business id from List businesses.

RESPONSE BODY SCHEMA: application/json
lastModified
string | null

ISO timestamp of the latest menu change. null if none.

allocationsrequired
object[]

Lookup table for allocationId. Each row: haatId + string name (not localized).

categoriesrequired
object[]

Menu categories. Each has haatId, localized name, imageUrl, meals, deals.

mealsrequired
object[]

haatId, name, price, available, imageUrl, allocationId, groups. Plain items use groups: [].

groups
object[]

Modifiers: haatId, name, min, max, mealContents. No price / available / imageUrl on the group.

mealContents
object[]

Choices: same item fields as meals, plus isDefault, nonModifiable, maxCount.

dealsrequired
object[]

Combos / deals: same top-level item fields as meals, with mealGroups → nested meals.

Notes

  • All ids are HAAT ids (haatId), not POS ids.
  • Resolve allocationId against top-level allocations.
  • Localized name objects use en-US, ar, he, fr (and any other stored languages).
  • Hidden / deleted items are omitted. Out-of-stock items stay with available: false.
  • No requestId — this is not a sync write.

Responses

200 — Menu

{ lastModified, allocations, categories }

401 / 403 — Auth failed

Missing, invalid, or unauthorized X-Api-Key.

404 — Business not found

Unknown businessId.

Request example
cURL
bash
curl "http://ext-integration.haat-delivery.io/api/pos/business/1021/menu" \
  -H "X-Api-Key: YOUR_API_KEY"
Response example
200
json
{
  "lastModified": "2026-10-28T12:00:00Z",
  "allocations": [
    { "haatId": 4, "name": "Drinks" }
  ],
  "categories": [
    {
      "haatId": 10,
      "name": { "en-US": "Burgers", "he": "המבורגרים" },
      "imageUrl": "https://images.haat.delivery/categories/burgers.jpg",
      "meals": [
        {
          "haatId": 201,
          "name": { "en-US": "Classic Burger" },
          "price": 32.5,
          "available": true,
          "imageUrl": "https://images.haat.delivery/meals/burger.jpg",
          "allocationId": 4,
          "groups": [
            {
              "haatId": 8,
              "name": { "en-US": "Add-ons" },
              "min": 0,
              "max": 3,
              "mealContents": [
                {
                  "haatId": 900,
                  "name": { "en-US": "Cheese" },
                  "price": 3,
                  "available": true,
                  "imageUrl": null,
                  "isDefault": true,
                  "nonModifiable": false,
                  "maxCount": 5,
                  "allocationId": 4
                }
              ]
            }
          ]
        }
      ],
      "deals": [
        {
          "haatId": 300,
          "name": { "en-US": "Combo" },
          "price": 49.9,
          "available": false,
          "imageUrl": null,
          "allocationId": 4,
          "mealGroups": [
            {
              "haatId": 40,
              "name": { "en-US": "Choose a burger" },
              "min": 1,
              "max": 1,
              "meals": [
                {
                  "haatId": 201,
                  "name": { "en-US": "Classic Burger" },
                  "price": 0,
                  "available": true,
                  "imageUrl": null,
                  "allocationId": 4,
                  "groups": []
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Type to search…

↑↓ navigate↵ openesc close