HAAT Integration Docs

Get business status

Read whether a business is Open or Closed for POS display.

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

Read-only. Returns the partner display status mapped for POS.

This is not the same as Update business status (PUT), which writes Closed (0) / Open (1) and returns a sync requestId.

Auth uses the same X-Api-Key. Missing business returns 404.

Example:

X-Api-Key: YOUR_API_KEY
PATH SCHEMA
businessIdrequired
integer

HAAT business id from List businesses.

RESPONSE BODY SCHEMA: application/json
statusrequired
string

Open or Closed only.

Display mapping

HAAT internalReturned to POS
OpenOpen
BusyClosed
CloseClosed
SoonClosed

Responses

200 — Current display status

Body is { "status": "Open" } or { "status": "Closed" }.

401 / 403 — Auth failed

Missing or invalid X-Api-Key.

404 — Business not found

Unknown businessId for this API key.

Request example
cURL
bash
curl http://ext-integration.haat-delivery.io/api/pos/business/1021/status \
  -H "X-Api-Key: YOUR_API_KEY"
Response example
200
json
{"status":"Open"}

Type to search…

↑↓ navigate↵ openesc close