HAAT Integration Docs

Update business

Update details for a DaaS business you own.

PUT/api/daas/{businessId}/update-business

businessId must belong to the current org.

Example:

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…
PATH SCHEMA
businessIdrequired
integer

Must belong to the current org.

REQUEST BODY SCHEMA: application/json
businessName
string

Hebrew name. Required in practice.

addressNote
string

Translation address.

locationrequired
object

Business coordinates.

latituderequired
number

Business latitude.

longituderequired
number

Business longitude.

email
string

Finance email.

phoneNumberrequired
string

Must be +972 plus 8–9 digits.

RESPONSE BODY SCHEMA: application/json
status
string

For example success.

message
string | null

Human-readable result.

data
object | null

Usually null on this call.

Responses

200 — Update result

status is success when the update is saved.

Request example
cURL
bash
curl -X PUT http://ext-integration.haat-delivery.io/api/daas/180/update-business \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"businessName":"bakery","location":{"latitude":32.51,"longitude":35.51},"phoneNumber":"+972542182747"}'
Response example
200
json
{"status":"success","message":null,"data":null}

Type to search…

↑↓ navigate↵ openesc close