Update a company

Last updated June 17, 2020

PUT /companies/v2/companies/:companyId

Method Details

HTTP Methods:

PUT

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

contacts

This endpoint updates an existing company with new properties or property values. These properties/values must be specified by JSON in the request body.

Use case for this endpoint: Your company is using HubSpot and  an external Account-Based Marketing (ABM) solution. In your ABM product, you've recorded enough activity to classify a company as a target account. This endpoint would allow you to update the status of the company in HubSpot, kicking off a workflow notifying CRM users about the change. 

Response details

A successful request will return a 200 response with a JSON object representing the updated company.

Required parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Company Id Used in the request URL (see above) Unique identifier for a particular company.
Company JSON Used in the request body This is JSON that represents the changes that you are making to the specified company. This should be in the format of the code sample below.