Update a relation
eboekhouden_update_relationChange fields of an existing relation. The tool first reads the relation, then sends its current values with your changes on top (the API requires name on every update), so fields you do not pass keep their values. This overwrites the current values of the fields you pass. GET + PATCH /v1/relation/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The relation id (from eboekhouden_list_relations). | |
| bic | No | ||
| city | No | ||
| code | No | Relation code (max 15; generated when empty on create). | |
| iban | No | ||
| name | No | The (company) name (max 100). | |
| note | No | ||
| type | No | Business (B, default) or Private (P). | |
| gender | No | m = male, v = female, a = department. | |
| address | No | ||
| contact | No | Contact person. | |
| country | No | ||
| website | No | ||
| inactive | No | Mark the relation inactive (true) or active (false). | |
| ledger_id | No | Ledger id of this relation (from eboekhouden_list_ledgers). | |
| salutation | No | ||
| vat_number | No | ||
| postal_code | No | ||
| phone_number | No | ||
| email_address | No | ||
| term_of_payment | No | Default payment term in days. | |
| mobile_phone_number | No | ||
| email_address_invoice | No | Address invoices are sent to. | |
| email_address_reminder | No | Address payment reminders are sent to. | |
| company_registration_number | No | Chamber of Commerce (KvK) number; digits only. |