Update Community Contact Information
PUT/community/:communityId/contact-details
Updates a community member’s contact information.
A community member can be either a person or a company. This API will update the contact information of the selected community member.
For a list of all country codes, go to Lookup - Country
For a list of all phone types, go to Lookup - Phone Type
For a list of all email types, go to Lookup - Email Type
For a list of all internet and social website types, go to Lookup - Website Type
Request
Path Parameters
Community id
- application/json
Body
- Array [
- ]
- Array [
- ]
emailAddress object[]required
emailType objectnullablerequired
phoneNumber object[]required
phoneType objectnullablerequired
Possible values: non-empty
Phone number
country objectnullablerequired
internetAndSocialMedia object[]required
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
- Successful
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
Status Code
data object
Is this community member deceased?
emailAddress object[]nullable
List of the community member's email addresses
UUID of the community member's email address record
emailType object
UUID of the email address type lookup
The email address type (e.g. Personal, Occupation, Company, etc)
The community member's email address
Is this the default email address?
internetAndSocialMedia object[]nullable
List of the community member's website/s and social media account/s
UUID of the community member's website or social media account record
websiteType object
UUID for community website type lookup
The community website type (e.g. Facebook, LinkedIn, etc.)
A URL to the website or social media account
Sort order for the website or social media account
phoneNumber object[]nullable
List of the community member's phone number/s
phoneType objectnullablerequired
UUID of the phone contact type lookup
The phone contact type (e.g. Home Phone, Personal Mobile, etc)
The unique code indicating the phone contact type (e.g. PERSONALMOBILE)
Phone number
Is this the default SMS number?
Optional extension for the phone number
The country calling code prefix for the phone number
country objectnullablerequired
{
"code": "OK",
"data": {
"deceased": true,
"emailAddress": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"emailType": {},
"value": "string",
"default": true,
"sortOrder": 0
}
],
"internetAndSocialMedia": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"websiteType": {},
"value": "string",
"sortOrder": 0
}
],
"phoneNumber": [
{
"phoneType": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"code": "string"
},
"value": "string",
"confidential": true,
"preferred": true,
"defaultSMS": true,
"extension": "string",
"countryCode": "string",
"country": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"code": "string"
}
}
]
}
}
{
"emailAddress": [
{
"id": "cde10b05-8d55-4b3a-802e-b3521aa1c540",
"emailType": {
"id": "49d3866a-c15a-40a1-809f-7bd03362736f",
"description": "Personal"
},
"value": "personal@gmail.com",
"sortOrder": 1,
"default": true
}
],
"internetAndSocialMedia": [
{
"id": "f7e62b7a-bb2c-4582-9331-46524d8f993a",
"websiteType": {
"id": "8c42afd1-9081-46b2-954b-2bd52d449edb",
"description": "Facebook"
},
"value": "www.facebook.com/myprofileurl",
"sortOrder": 1
},
{
"id": "fbaaa918-3180-4259-b0c1-af5c1a29995a",
"websiteType": {
"id": "c72569ae-83e4-4da7-a86c-c4269727f0d1",
"description": "LinkedIn"
},
"value": "www.linkedin.com/in/thisismyprofile",
"sortOrder": 4
}
],
"phoneNumber": [
{
"id": "ec17d7c5-c21d-40a9-a7c5-4c65ef4bc749",
"lookup": {
"id": "98c06b1f-c7d6-43e4-8f01-2311000bf679",
"description": "Personal mobile"
},
"value": "0412345678",
"confidential": false,
"countryCode": "AU +61",
"country": {
"id": "283a7817-5c27-48bb-9650-4ccfa11a3704",
"description": "Australia",
"code": "AU"
},
"preferred": true,
"defaultSMS": true,
"extension": null,
"sortOrder": 1
}
],
"deceased": false
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1100",
"message": "Bad Request"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1101",
"message": "Unauthorized"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1102",
"message": "Forbidden"
}
]
}
Resource not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1103",
"message": "Not Found"
}
]
}
Unprocessable entity
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1108",
"message": "Unprocessable Entity"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1109",
"message": "Internal Server Error"
}
]
}