Get business status
Read whether a business is Open or Closed for POS display.
GET
/api/pos/business/{businessId}/statusRead-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
businessIdrequiredRESPONSE BODY SCHEMA: application/json
statusrequiredDisplay mapping
| HAAT internal | Returned to POS |
|---|---|
| Open | Open |
| Busy | Closed |
| Close | Closed |
| Soon | Closed |
Responses
200 — Current display status
200 — Current display status
Body is { "status": "Open" } or { "status": "Closed" }.
401 / 403 — Auth failed
401 / 403 — Auth failed
Missing or invalid X-Api-Key.
404 — Business not found
404 — Business not found
Unknown businessId for this API key.
Request example
cURL
bashcurl http://ext-integration.haat-delivery.io/api/pos/business/1021/status \
-H "X-Api-Key: YOUR_API_KEY"Response example
200
json{"status":"Open"}