Restaurant setup
Credentials and headers for Restaurant partners.
Restaurant setup
Auth (HAAT → partner POS)
Partner accepts one of:
| Option | Header |
|---|---|
| Bearer | Authorization: Bearer <token> |
| HMAC | X-Signature (shared secret with HAAT) |
Also required:
| Header | Value |
|---|---|
X-Haat-Version | 1.0 |
Content-Type | application/json |
Idempotency-Key | On submit order (UUID) — same key must not create duplicate orders |
Partner endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /api/menu | Full menu sync |
POST | /api/orders | Submit order |
Example base: https://pos.example.com
Advanced API environments
The following API is already available from HAAT and can be used by the POS for authentication and product synchronization.
| Environment | Base URL |
|---|---|
| Staging | http://ext-integration.haat-delivery.io |
| Production | https://integration.internal.haat.delivery |
Use staging credentials first. Production only after HAAT Integration sign-off.