Update a contact
Update the details of a single contact (required scope contacts:write)
Path Parameters
Contact id
Header Parameters
The customer identifier
Request Body
Model used to update contact. At least one optional value must be provided
- Array [
- ]
The internal reference of the contact - should usually be unique
Optional: Omit to retain current value or provide null to unset
The name of the contact
Optional: Omit to retain current value
The unique identifier of the group this contact belongs to
Optional: Omit to retain current value
The unique identifier of the parent contact of this contact
Optional: Omit to retain current value or provide null to unset
A free text description about the contact
Optional: Omit to retain current value or provide null to unset
The contact street address
Optional: Omit to retain current value or provide null to unset
The contact address town / city / village / locality
Optional: Omit to retain current value or provide null to unset
The contact address postcode or zipcode
Optional: Omit to retain current value or provide null to unset
The textual name of the contact address country
Optional: Omit to retain current value or provide null to unset
location object
Represents a geographical location
Latitude of the center of the location
Longitude of the center of the location
customFields object[]
Custom fields associated with the contact. 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"
}