List businesses
Businesses assigned to your Advanced API key.
GET
/api/pos/businessesUse businessId from this response in every other Advanced API path.
Example:
X-Api-Key: YOUR_API_KEY
HEADER SCHEMA
X-Api-KeyrequiredRESPONSE BODY SCHEMA: application/json
Return an array of businesses. Each row has these fields:
businessIdrequiredbusinessNamerequiredareaNameResponses
200 — Businesses assigned to your API key
200 — Businesses assigned to your API key
Each row has businessId, businessName, and areaName.
Request example
cURL
bashcurl 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"}]