POST
/businesses/{bid}/parties/{id}/contactsAdd a contact to a party
POST /businesses/{bid}/parties/{id}/contacts
Requires the businesses scope.
A contact needs a phone or an email. A party holds at most 20.
Path parameters
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
id | string | required | Party id. |
Body
| Field | Type | Description | |
|---|---|---|---|
name | string | ||
role | string | billing, site, manager, other, or your own words. | |
phone | string | ||
email | string |
Response
201: { "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).