Update customer
update_customerUpdate fields of an existing customer (cliente). Only the fields you pass are changed. Returns the updated customer's id and name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | No | ||
| city | No | ||
| No | |||
| notes | No | internal notes about the customer | |
| phone | No | ||
| country | No | ||
| email_cc | No | Additional recipients, replaces the whole list. Max 5. | |
| province | No | ||
| customer_id | Yes | ||
| no_email_cc | No | Collective customer: setting it clears the additional recipients and keeps the Zoho sync from refilling them. | |
| postal_code | No | ||
| company_name | No | ||
| contact_name | No | ||
| address_line1 | No | ||
| address_line2 | No | ||
| recipient_type | No | kind of recipient, as the user states it; drives the Veri*factu recipient block and Modelo 347/349 assignment | |
| is_public_admin | No | True if the customer is a Spanish public administration (school, ayuntamiento, university). Enables Facturae/B2G invoicing. Requires the three DIR3 codes below. | |
| dir3_organo_gestor | No | DIR3 code of the Órgano Gestor. Provided by the administration. | |
| default_product_group | No | Product group new invoices of this customer get when create_invoice is called without one. Must be a name from get_product_groups; empty string clears it. | |
| dir3_oficina_contable | No | DIR3 code of the Oficina Contable, e.g. L01410950. Provided by the administration. | |
| dir3_unidad_tramitadora | No | DIR3 code of the Unidad Tramitadora. Provided by the administration. |