PATCH
/businesses/{bid}/parties/{id}/contacts/{cid}Update a contact
PATCH /businesses/{bid}/parties/{id}/contacts/{cid}
Requires the businesses scope.
Only the fields sent change. A contact left with neither a phone nor an email is refused.
Path parameters
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
id | string | required | Party id. |
cid | string | required | Contact id. |
Body
| Field | Type | Description | |
|---|---|---|---|
name | string | ||
role | string | ||
phone | string | ||
email | string |
Response
200: { "ok": true, … }
| Field | Type | Description | |
|---|---|---|---|
ok | boolean | required | |
contact | PartyContact | required | A person at a customer: an accounts department, a second mobile, who opens the site. Reach only: documents still name the party, and no report or export reads a contact. |
Errors: 400, 401, 403, 404, 429. Every failure answers { "error", "reason", "hint", "param", "doc_url", "retryable", "request_id" }: branch on reason, and read hint for what to change (https://docs.billos.co.il/errors.md).