Update a company
Companies
Update a company
Updates an existing company.
custom_data uses partial merge semantics:
- sent keys are upserted
- keys set to
nullare removed - omitted keys are preserved
PUT
Update a company
Authorizations
API key starting with leo_
Path Parameters
Company ID
Body
application/json
Company status ID. Set to null to clear the status. Must belong to the API key workspace.
Partial custom field update map keyed by custom field key.
Keys with null values are removed; omitted keys are preserved.
Response
Company updated
Example:
{
"id": "b2c3d4e5-6789-01ab-cdef-234567890abc",
"name": "Doctolib",
"domain": "doctolib.com",
"industry": "Health Tech",
"company_size": "1001-5000",
"description": null,
"location": "Paris, France",
"logo_url": "https://logo.clearbit.com/doctolib.com",
"phone": null,
"linkedin_url": "https://www.linkedin.com/company/doctolib",
"annual_revenue": null,
"owner_id": null,
"status_id": "550e8400-e29b-41d4-a716-446655440000",
"status": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Customer",
"color": "#22c55e",
"position": 1,
"is_default": false
},
"custom_data": { "crm_tier": "enterprise" },
"created_at": "2025-01-10T08:00:00Z",
"updated_at": "2025-01-20T14:00:00Z",
"archived_at": null
}