Contact

Update contact persons

Replaces the set of persons on a contact. Send the full desired list of persons; the change is pushed to the accounting system and the contact is then re-synced. Exactly one person must be marked as primary. The primary person is imported, while additional persons may be local depending on accounting-system rules.

put/contact/{id}/contact-persons

Request

  • Base URL: https://api.paidnice.com/rest/v1
  • URL: https://api.paidnice.com/rest/v1/contact/{id}/contact-persons
  • Auth: HTTP bearer

Path parameters

idinteger nullable
Example:123

Request body

Response

The updated contact

idinteger required
namestring required
accountingSystemIdstring required
status'ACTIVE' | 'ARCHIVED' required
accountNumberstring
smsOptedOutboolean required
groupIdinteger required
groupTitlestring required

Example response

{
  "id": 123,
  "name": "Acme Ltd",
  "accountingSystemId": "123",
  "contactPersons": [
    {
      "id": "00000000-0000-0000-0000-000000000123"
    }
  ],
  "groupId": 42,
  "groupTitle": "Default Group"
}

Changes

No recorded changes to this operation across all 1 revision of this API.