Update account
freshsales_update_accountWRITE: change fields of an existing account (company); only the fields you pass are changed. PUT /sales_accounts/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City. | |
| name | No | Company name. | |
| phone | No | Phone number. | |
| state | No | State or region. | |
| address | No | Street address. | |
| country | No | Country. | |
| website | No | Website. | |
| zipcode | No | Postal code. | |
| owner_id | No | Owner user id (freshsales_list_owners). | |
| account_id | Yes | Account (sales account) id. | |
| custom_field | No | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. | |
| annual_revenue | No | Annual revenue. | |
| business_type_id | No | Business type id (freshsales_list_options business_types). | |
| industry_type_id | No | Industry id (freshsales_list_options industry_types). | |
| number_of_employees | No | Company size bucket code (not a headcount): 1 = 1-10, 11 = 11-50, 51 = 51-200, 201 = 201-500, 501 = 501-1000, 1001 = 1001-5000, 5001 = 5001-10000, 10001 = 10000+. |