Update a person
Update the details of a single person (required scope contacts:persons:write)
Path Parameters
Person id
Header Parameters
The customer identifier
Request Body
Update person model. At least one optional value must be provided
- Array [
- ]
The person's title
Optional: Omit to retain current value or provide null to unset
The person's first name
Optional: Omit to retain current value
The person's second name
Optional: Omit to retain current value
The email address of the person
Optional: Omit to retain current value
The mobile telephone number of the person
Optional: Omit to retain current value or provide null to unset
The landline telephone number of the person
Optional: Omit to retain current value or provide null to unset
The landline extension of the person
Optional: Omit to retain current value or provide null to unset
The job role that the person holds within the contact
Optional: Omit to retain current value or provide null to unset
The department that the person belongs to
Optional: Omit to retain current value or provide null to unset
A flag indicating if the contact has opted out of marketing communications
Optional: Omit to retain current value
customFields object[]
Custom fields associated with the person. Omit or use an empty list to retain current values
Optional: Omit to retain current value
The unique identifier of the associated custom field definition
The value of this custom field. If set to null, any existing value will be unset
- 204
- 400
- 403
- 404
- 422
- 500
No Content
Bad Request
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Forbidden
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Not Found
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Client Error
Schema
- Array [
- ]
errors object
property name* string[]
string
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"errors": {},
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Server Error
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}