Contacts / Entity

Update Contact

This endpoint allows you to update a specific Contact. If the specified Contact does not exist, the response will be a "bad request".

You will only be able to update a Contact after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

This endpoint allows updating the information of a specific Contact. In order to update a Contact, you just have to specify the attributes you want to modify and complete with the up to date information. It is not necessary to send all attributes.

AttributeTypeDescription
accountIdIntegerAccount to whom the Contact is linked to (see Accounts resource)
address1StringContact's first address
cityStringCity name
commentStringComment added to the Contact profile
countryIdIntegerCountry ID (see Countries resource) of the address
emailStringContact's email address
email2StringContact's second email address
email3StringContact's third email address
extIdStringExternal ID of the Contact from a third party system (ERP, CRM, Accounting System)
faxStringContact's fax number
firstNameStringContact's first name
genderIntegerMale -> 0 or female -> 1
lastNameStringContact's last name
linkedinStringContact's LinkedIn profile name
permissionLevelStringDefines the visibility of the Contact. Set from 1 to 5 being 5 the highest level of permission
phone1StringContact's first phone number
phone2StringContact's second phone number
postcodeStringPostcode of the Contact address
readOnlybooleanIf true, the Contact cannot be modified or deleted
regionStringRegion/State name referred to the address
salesRepIdObject, NullContact responsible for the Contact
skypeStringContact's Skype name
typeIdIntegerContact Type (see Type resource)
UseCompanyAddressBooleanIf true, Contact's address is the one of the associated Account
birthdayStringContact's birthday
marketingCommunicationsBooleanIf true, Contact can receive marketing communications

RESPONSE

Returns a JSON with information about the Contact just updated.

AttributeDescription
MessageShows the operation status

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
put/contacts/{ID}

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/contacts/{ID}
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

address1string
citystring

Response

Update Contact

Changes

No recorded changes to this operation across all 1 revision of this API.