update_customer
Update customer details such as name, currency, notes, status, or address. Only supplied fields change; existing invoices and bills stay unchanged.
Instructions
Update an existing customer.
Mutates only the fields supplied; everything else stays.
Existing invoices/bills are not retroactively changed —
currency here is the customer's default trading
currency for future documents.
Args:
id: Customer ID (e.g., "000001").
name: New display name.
currency: New default ISO currency code (e.g., "EUR").
notes: New notes. Pass "" to clear.
active: false to deactivate (archive without
deleting); true to reactivate.
address: Partial address dict — keys name,
addr1..addr4, phone, fax, email.
Merges onto the existing address (creating one if
absent). To clear a sub-field, pass an empty
string explicitly for that key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| notes | No | New notes value (capped at 4096 characters). Pass ``None`` (default) to leave existing notes unchanged; pass ``""`` to clear. | |
| active | No | ||
| address | No | ||
| currency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |