Save a company
crm_save_companyCreate a company, or update the one with this name (case-insensitive). With company_id, update that company instead, and a name renames it. Only the fields you send change; tags are added, custom fields merged. Costs $0.01 per call; nothing if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required unless company_id is given; with it, the company's new name. | |
| tags | No | Tags to add, e.g. ["vip"]; a new tag is made on first use. crm_tag_records removes tags. | |
| notes | No | ||
| domain | No | ||
| website | No | ||
| industry | No | ||
| company_id | No | ||
| custom_fields | No | Custom fields as {"key": value}, merged into the existing ones; null clears one. Keys defined with crm_define_field are checked against their type. | |
| employee_count | No | ||
| lifecycle_stage | No |