List businesses
Businesses linked to the authenticated DaaS organization.
GET
/api/daas/businessesCall this after Login.
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…
HEADER SCHEMA
AuthorizationrequiredRESPONSE BODY SCHEMA: application/json
statusmessagedataorganizationIdbusinessesbusinessIdbusinessNameareaNameResponses
200 — Businesses for the operator
200 — Businesses for the operator
No query params. Returns the businesses for this org.
401 — Missing or invalid token
401 — Missing or invalid token
Login again and retry.
Request example
cURL
bashcurl http://ext-integration.haat-delivery.io/api/daas/businesses \
-H "Authorization: Bearer YOUR_TOKEN"Response example
200
json{"status":"success","data":[{"businessId":180,"businessName":"saja's bakery"}]}