Update an account
neon_update_accountChange an account's name, email, job title, company name or do-not-solicit / email opt-out flags. Only the fields you pass are changed (PATCH). The type must match the account (see neon_get_account). Addresses are not edited here. Neon: PATCH /accounts/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The account's type (individualAccount vs companyAccount). | |
| No | Primary email (primaryContact.email1). | ||
| email2 | No | Secondary email (primaryContact.email2). | |
| job_title | No | Job title (primaryContact.title). | |
| last_name | No | Last name. | |
| account_id | Yes | The account id. | |
| first_name | No | First name (primaryContact.firstName). | |
| middle_name | No | Middle name. | |
| company_name | No | New company name (COMPANY accounts only). | |
| email_opt_out | No | Opt the primary email out of email (email1OptOut). | |
| preferred_name | No | Preferred name. | |
| no_solicitation | No | Do-not-solicit flag. |