PUT /persons/{id}
Updates the properties of a person. For more information, see the tutorial for updating a person.
If a company uses the Campaigns product, then this endpoint will also accept and return the data.marketing_status
field.
Servers
- https://api.pipedrive.com/v1
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
The ID of the person |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
visible_to |
String | No |
The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups here. Essential / Advanced plan
Professional / Enterprise plan
Possible values:
|
||||||||||||||||
name |
String | No |
The name of the person |
||||||||||||||||
email[] |
Array | No |
An email address as a string or an array of email objects related to the person. The structure of the array is as follows: |
||||||||||||||||
email[].label |
String | No |
The label that indicates the type of the email. (Possible values - work, home or other) |
||||||||||||||||
email[].value |
String | No |
The email |
||||||||||||||||
email[].primary |
Boolean | No |
Boolean that indicates if email is primary for the person or not |
||||||||||||||||
label |
Integer | No |
The label assigned to the person. When the |
||||||||||||||||
add_time |
String | No |
The optional creation date & time of the person in UTC. Format: YYYY-MM-DD HH:MM:SS |
||||||||||||||||
phone[] |
Array | No |
A phone number supplied as a string or an array of phone objects related to the person. The structure of the array is as follows: |
||||||||||||||||
phone[].label |
String | No |
The label that indicates the type of the phone number. (Possible values - work, home, mobile or other) |
||||||||||||||||
phone[].value |
String | No |
The phone number |
||||||||||||||||
phone[].primary |
Boolean | No |
Boolean that indicates if phone number is primary for the person or not |
||||||||||||||||
label_ids[] |
Array | No |
The IDs of labels assigned to the person. When the |
||||||||||||||||
org_id |
Integer | No |
The ID of the organization this person will belong to |
||||||||||||||||
marketing_status |
String | No |
If the person does not have a valid email address, then the marketing status is not set and
Possible values:
|
||||||||||||||||
owner_id |
Integer | No |
The ID of the user who will be marked as the owner of this person. When omitted, the authorized user ID will be used. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.