HAAT Integration Docs

Advanced API setup

API key, environments, and business IDs.

Advanced API setup

Auth

Every request:

http
X-Api-Key: <api-key-from-haat>

Advanced API environments

The following API is already available from HAAT and can be used by the POS for authentication and product synchronization.

EnvironmentBase URL
Staginghttp://ext-integration.haat-delivery.io
Productionhttps://integration.internal.haat.delivery

First call

GET /api/pos/businesses

Returns business ids for this API key. Use businessId in all other paths:

/api/pos/business/{businessId}/...

Write response pattern

PUT endpoints return:

json
{
  "requestId": "6651a3f2e1b2c3d4e5f60003",
  "status": "Success",
  "message": "Updated successfully"
}
HTTPMeaning
200Success or queued
400Validation failed — read message

If status is "Pending", poll:

GET /api/pos/business/{businessId}/sync-status/{requestId}

Type to search…

↑↓ navigate↵ openesc close