Skip to main content
PATCH
/
contacts
/
{id}
Update contact
curl --request PATCH \
  --url https://productlane.com/api/v1/contacts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com",
  "companyId": "<string>",
  "companyName": "<string>",
  "companyExternalId": "<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
Required string length: 1 - 255

Body

application/json
name
string

Contact name

Required string length: 1 - 255
email
string<email>

Contact email address

companyId
string

Link contact to company by Productlane company ID. Provide only one of: companyId, companyName, or companyExternalId.

Required string length: 1 - 255
companyName
string

Link contact to company by company name. If company doesn't exist, it will be created. Provide only one of: companyId, companyName, or companyExternalId.

Required string length: 1 - 255
companyExternalId
string

Link contact to company by your organization's external ID. Useful for linking contacts without using Productlane IDs. Provide only one of: companyId, companyName, or companyExternalId.

Required string length: 1 - 255

Response

Successful response

The response is of type any.

I