Update a company
patch/api/v1/companies/{id}Updates one or more field values for an existing company. Supports updating business information, contact details, financial data, and custom fields.
Code snippet
curl -X 'PATCH' \
'https://{yourdomain}/api/v1/companies/{id}' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
-d '{
"data": {
"website": "https://www.techcorp-solutions.com",
"phoneNumbers": [
{
"value": "+1-415-555-0123",
"label": "Business",
"isPrimary": true
}
],
"numberOfEmployees": 1250,
"annualRevenue": 75000000,
"cf_customer_tier": {
"id": 1
}
}
}'
Path parameters
| idlongRequired | The unique identifier of the company to update. |
Query parameters
| skipValidationboolean | A flag indicating whether to bypass specific validations during company update. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied. |
Request body
| namestring | Company name for business identification. | ||||||
| websitestring | Official website URL of the company. | ||||||
phoneNumbersarray | List of phone numbers associated with the company.
| ||||||
ownerobject | Owner assignment for the company record.
| ||||||
| numberOfEmployeesinteger | Total number of employees in the company. | ||||||
| annualRevenuedecimal | Represents the company's estimated annual revenue as a currency value. | ||||||
industryobject | Industry classification of the company.
| ||||||
| streetstring | Street address of the company headquarters. | ||||||
| citystring | City name in the company's address. | ||||||
| statestring | State or province name in the company's address. | ||||||
| countrystring | Country name in the company's address. | ||||||
| postalCodestring | Postal or ZIP code for the company's address. | ||||||
| linkedInstring | LinkedIn company page URL. | ||||||
| facebookstring | Facebook company page URL. | ||||||
| twitterstring | Twitter company profile URL. | ||||||
| descriptionstring | Detailed description of the company and its business activities. | ||||||
companyTypeobject | Type or category classification of the company.
| ||||||
sectorobject | Business sector classification of the company.
| ||||||
| yearFoundedinteger | The year when the company was founded. | ||||||
cf_customer_tierobject | Custom field defined for the company module. Pass a custom field using its API name, which always begins with the
|
Example response
200 Success
{
"message": "Company updated successfully.",
"data": {
"id": 1234
}
}