Skip to main content
PATCH
/
companies
/
{id}
Update company
curl --request PATCH \
  --url https://productlane.com/api/v1/companies/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "domains": [
    "<string>"
  ],
  "externalIds": [
    "<string>"
  ],
  "autoAdd": true,
  "size": 123,
  "revenue": 123,
  "tierId": "<string>",
  "statusId": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string

Company name

Required string length: 1 - 255
domains
string[]

List of domains associated with this company. Used for automatically linking contacts by email domain. If Linear is connected, these domains will be synced to the Linear customer.

externalIds
string[]

Your own organization IDs for referencing this company. Useful for linking contacts with generic email domains (e.g., @gmail.com) to companies. If Linear is connected, these IDs will be synced as Linear customer externalIds.

autoAdd
boolean

Automatically add all existing contacts with matching email domains to this company

size
number

Company size (number of employees). If Linear is connected, this will be synced to the Linear customer. Pass null to clear the value.

revenue
number

Annual revenue. If Linear is connected, this will be synced to the Linear customer. Pass null to clear the value.

tierId
string

Linear customer tier ID. Only works if Linear is connected. Use GET /companies/linear-options to fetch available tier IDs. Pass null to clear the value.

statusId
string

Linear customer status ID. Only works if Linear is connected. Use GET /companies/linear-options to fetch available status IDs. Pass null to clear the value.

Response

Successful response

The response is of type any.

I