Update (PUT) Contact
Use this API to update a single contact in the Contacts hub.
To update a contact:
Execute a PUT command on the endpoint
{{url}}/contact/<ID>, where ID is the ID of the
contact you want to update.
For example, here is a request, using cURL, to update the zip code field for the contact with ContactID joannasmith.
curl --request PUT \
--url 'https://{{url}}/contact/joannasmith' \
--header 'authorization: Bearer {{oauth_token}}' \
--header 'content-type: application/json' \
--data '{
"zip": "02116"
}'
A successful call with 200 status code returns the JSON representation of the updated contact, for example:
[
{
"ContactID": "joannasmith",
"Salutation": "Ms.",
"FirstName": "Joanna",
"MiddleName": "Carla",
"LastName": "Smith",
"Suffix": "PE, RLS",
"PreferredName": "Jo",
"Title": "Project Manager",
"Source": "Client Reference",
"ClientID": "CLIENT78901234567890123456789012",
"ClientName": "ClientName & Associates, LLC",
"Vendor": "VENDOR7890",
"VName": "The American Institute of Architects",
"Email": "email@company.com",
"ContactStatus": "A",
"CustomCurrencyCode": "USD",
"Address1": "100 Main Street",
"Address2": "Suite 300",
"Address3": "",
"Address4": "",
"City": "Boston",
"State": "MA",
"Zip": "02116",
"Country": "",
"Phone": "111.222.3333",
"Fax": "111.222.3333",
"CellPhone": "111.222.3333",
"HomePhone": "111.222.3333",
"Pager": "111.222.3333",
"MailingAddress": "Y",
"FirmAddress1": "",
"FirmAddress2": "",
"FirmAddress3": "",
"FirmAddress4": "",
"FirmCity": "",
"FirmState": "",
"FirmZip": "",
"FirmCountry": "",
"FirmBusinessPhone": "111.222.3333",
"FirmBusinessPhoneFormat": "###.###.####",
"FirmBusinessFax": "111.222.3333",
"FirmBusinessFaxFormat": "###.###.####",
"FirmPager": "111.222.3333",
"FirmDescription": "",
"Memo": "",
"Billing": "N",
"PrimaryInd": "N",
"Addressee": "",
"CLAddress": "",
"VEAddress": "",
"CreateUser": "William Apple",
"CreateDate": "2017-06-20T15:02:52.173",
"ModUser": "William Apple",
"ModDate": "2017-06-20T15:02:52.173",
"CellPhoneFormat": "###.###.####",
"HomePhoneFormat": "###.###.####",
"PagerFormat": "###.###.####",
"Company": "CompanyName & Assocites, LLC",
"flName": "Joanna Smith, PE, RLS",
"Owner": "",
"emOwnerfl": "",
"RecentOpportunityName": "",
"RecentOpportunityID": "",
"RecentOppRole": "",
"TopTPStartDate": "",
"TopTPSubject": "",
"TopTPContactID": "",
"TopTPCreateEmployee": "",
"TopTPCreateUserName": "",
"HasPhoto": 0,
"PhotoModDate": "",
"TLInternalKey": "",
"TLSyncModDate": "",
"ProjectDescription": "",
"Rating": "",
"Market": "",
"Website": "www.deltek.com",
"QualifiedStatus": "sysNew",
"StatusReason": "",
"StatusDate": "2017-06-20T00:00:00.000",
"ProfessionalSuffix": "",
"SFID": "",
"AjeraSync": "N"
}
]
