HAAT Integration Docs

Get order status

Read the current display status of an order.

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

Read-only. Returns the current order status string. Does not return a requestId and does not create a sync audit entry.

This is different from Update order status (PUT), which uses numeric status 1 / 2 / 3. The GET string can change over time without another PUT.

Example:

X-Api-Key: YOUR_API_KEY
PATH SCHEMA
businessIdrequired
integer

HAAT business id from List businesses.

QUERY SCHEMA
orderIdrequired
integer

HAAT order id.

RESPONSE BODY SCHEMA: application/json
orderIdrequired
integer

Same HAAT order id you queried.

statusrequired
string

New, Preparing, Ready, Done, or Cancelled.

Responses

200 — Current order status

Body is { "orderId", "status" } with a display string.

401 / 403 — Auth failed

Missing or invalid X-Api-Key.

404 — Not found

Unknown orderId or order not on this business.

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

Type to search…

↑↓ navigate↵ openesc close