Update Company
hudu_update_companyUpdate an existing Hudu company record with new details. Provide the company ID and only the fields to change; supplied values replace existing ones.
Instructions
Update an existing company. A company is the top-level container in Hudu; every asset, article, password and website belongs to exactly one.
Only the fields you supply are sent. Be aware that Hudu applies these as a PUT: for fields you do send, the new value replaces the old one outright — read the record first with hudu_get_company if you intend to append rather than overwrite.
Operation class: Update. Impact: Overwrites the supplied fields on this company.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric Hudu id of the company. | |
| zip | No | ||
| city | No | ||
| name | No | Company name. | |
| notes | No | Free-text notes shown on the company record. | |
| state | No | ||
| website | No | Primary website URL. | |
| nickname | No | Short name shown in lists. | |
| id_number | No | Your own external identifier for this company. | |
| fax_number | No | ||
| company_type | No | Free-text classification, e.g. "Client". | |
| country_name | No | ||
| phone_number | No | ||
| address_line_1 | No | ||
| address_line_2 | No | ||
| parent_company_id | No | Numeric id of a parent company, for nested company structures. |