Skip to main content
Update a person’s details, such as their last name or phone number.

Update a person

PATCH /v2/people/{personId}

Request

Use this request to update or add details about a given person, such as their last name or their phone number. The accountId is required and any other parameters are optional, depending on what you want to update.

Path parameters

string
required
The ID of the person that you want to update.Allowable values: An existing personId (≤ 36 characters)

Request body schema

string
required
The ID of the account that you want to work with.Allowable values: An existing accountId (≤ 36 characters)
string
The person’s first name.Allowable values: ≤ 256 characters
string
The person’s last name.Allowable values: ≤ 256 characters
string or null
The person’s first name.Allowable values: Master, Mr, Miss, Mrs, Ms, Mx
string or null
The person’s middle initials.Allowable values: ≤ 10 characters
string (date) or null
The person’s middle initials.Allowable values: YYYY-MM-DD
string or null
The person’s gender.Allowable values: ≤ 20 characters
string or null
The person’s nationality.Allowable values: ≤ 256 characters
string or null
The person’s country of residence.Allowable values: ≤ 256 characters
string
The person’s primary mobile phone number.Allowable values: ≤ 50 characters
string or null
The theme used in emails sent to this person.Allowable values: em-light, em-dark
boolean or null
Whether or not all the personas associated with this person have opted to receive emails.Allowable values: true, false

Response

If your request is successful, you’ll receive a 200 response containing the updated details for this person.
For more detailed information about this request and its response, see the API reference.