HAAT Integration Docs

List businesses

Businesses assigned to your Advanced API key.

GET/api/pos/businesses

Use businessId from this response in every other Advanced API path.

Example:

X-Api-Key: YOUR_API_KEY
HEADER SCHEMA
X-Api-Keyrequired
string

API key from HAAT onboarding.

RESPONSE BODY SCHEMA: application/json

Return an array of businesses. Each row has these fields:

businessIdrequired
integer

Use this id in every other Advanced API path.

businessNamerequired
string

Business name.

areaName
string | null

Area name. Can be null.

Responses

200 — Businesses assigned to your API key

Each row has businessId, businessName, and areaName.

Request example
cURL
bash
curl http://ext-integration.haat-delivery.io/api/pos/businesses \
  -H "X-Api-Key: YOUR_API_KEY"
Response example
200
json
[{"businessId":1021,"businessName":"My Restaurant - Main Branch","areaName":"Tel Aviv"}]

Type to search…

↑↓ navigate↵ openesc close