URL: /kits/advanced-api/overview

---
title: "Advanced API overview"
description: "When partners call HAAT to update status, hours, and availability."
---

# Advanced API overview

Use this kit when the partner POS **calls HAAT** (not the other way around).

Each endpoint page in the sidebar shows **headers, body fields, and example responses** on the right.

Typical uses:

- Open / close a business (PUT) and read display status (GET)
- Update order status (start prepare / done prepare / cancel)
- Read current order status (GET)
- Update working hours (PUT) and read regular working hours (GET)
- Update item availability
- Poll a request that returned `Pending`

Menu endpoints live under the **Restaurant** tab → **Menu**: [Get menu from HAAT](/kits/restaurant/get-menu-from-haat) and [Get menu from POS](/kits/restaurant/get-menu).

## Advanced API environments

| Environment | Base URL |
| --- | --- |
| Staging | `http://ext-integration.haat-delivery.io` |
| Production | `https://integration.internal.haat.delivery` |

## How to read an endpoint

1. Open the page in the left menu.
2. Read `X-Api-Key` and the path fields in the middle.
3. Use the sample request and `200` / `400` responses on the right.

## Start here

1. [Setup](/kits/advanced-api/setup) — API key and `businessId`
2. **Businesses** — list, get/update status, get/update working hours, availability
3. **Orders** — prepare time, get/update order status
4. **Sync** — poll `requestId` when a write is `Pending`
5. [Checklist](/kits/advanced-api/checklist) — go-live

<Tip>
  Most Market and Restaurant partners also need this kit for operational updates.
</Tip>
