Update company
curl --request PATCH \
--url https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id}"
payload = {}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"company": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve Corp",
"address": "123 Main St, New York, NY",
"source": null,
"tags": [],
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}Companies
Update company
Update an existing company by its ID.
PATCH
/
companies
/
{id}
Update company
curl --request PATCH \
--url https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetocrm.com/api/external/v2/companies/{id}"
payload = {}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"company": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Eve Corp",
"address": "123 Main St, New York, NY",
"source": null,
"tags": [],
"created_at": "2025-03-15T10:30:00.000Z",
"updated_at": "2025-03-15T10:30:00.000Z"
}
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
The ID of the company to update. You can get the company id by listing all companies using our List all companies API.
Body
application/json
Response
200 - application/json
Company updated successfully.
Hide child attributes
Hide child attributes
Unique identifier for the company.
Name of the company.
Address of the company.
Source of the company.
Timestamp when the company was created.
Timestamp when the company was last updated.