update_contact
Update existing contact details including name, email, phone, and address. Modify relation type, communication preferences, and custom fields.
Instructions
Updates specified contact
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | contact ID | |
| number | No | unique number | |
| relation | No | type of contact's relation; possible values: CL - Customer, CR - Creditor | |
| type | No | type of contact; possible values: C - Company, P - Private | |
| gender | No | gender of contact (required for P type); possible values: M - Male, F - Female | |
| gender_salutation_active | No | whether to show Mr./Ms. before contact name (for P type only) | |
| name | No | name of contact | |
| name_addition | No | additional text for contact name | |
| salutation | No | e.g. Dear Mr. Jones | |
| phone | No | contact phone number | |
| fax | No | contact fax number | |
| No | contact email address | ||
| website | No | contact website address | |
| notes | No | additional notes | |
| communication_language | No | main communication language | |
| communication_channel | No | possible values: U - No preference, E - Documents by e-mail, P - Documents by post | |
| communication_newsletter | No | possible values: A - Send to main e-mail address and contacts, M - Only send to main e-mail address, N - No newsletter wanted | |
| currency | No | default currency | |
| ebill_account_id | No | e-bill account identification number | |
| vat_identification | No | VAT identification number | |
| vat_rate | No | default VAT rate | |
| discount_rate | No | default discount rate | |
| discount_type | No | default discount type; possible valuesP - in %, A - Amount | |
| payment_grace | No | default payment deadline | |
| hourly_rate | No | cost per hour | |
| custom_fields | No | custom fields values |