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
| Parameter | Value | Description |
|---|---|---|
| Content-Type | application/json | Language in which all request and response bodies are encoded |
| Accept | */* | Any data of whatever mime type is accepted |
| X-Session-Key | AUTH_TOKEN | This 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.
| Attribute | Type | Description |
|---|---|---|
| accountId | Integer | Account to whom the Contact is linked to (see Accounts resource) |
| address1 | String | Contact's first address |
| city | String | City name |
| comment | String | Comment added to the Contact profile |
| countryId | Integer | Country ID (see Countries resource) of the address |
| String | Contact's email address | |
| email2 | String | Contact's second email address |
| email3 | String | Contact's third email address |
| extId | String | External ID of the Contact from a third party system (ERP, CRM, Accounting System) |
| fax | String | Contact's fax number |
| firstName | String | Contact's first name |
| gender | Integer | Male -> 0 or female -> 1 |
| lastName | String | Contact's last name |
| String | Contact's LinkedIn profile name | |
| permissionLevel | String | Defines the visibility of the Contact. Set from 1 to 5 being 5 the highest level of permission |
| phone1 | String | Contact's first phone number |
| phone2 | String | Contact's second phone number |
| postcode | String | Postcode of the Contact address |
| readOnly | boolean | If true, the Contact cannot be modified or deleted |
| region | String | Region/State name referred to the address |
| salesRepId | Object, Null | Contact responsible for the Contact |
| skype | String | Contact's Skype name |
| typeId | Integer | Contact Type (see Type resource) |
| UseCompanyAddress | Boolean | If true, Contact's address is the one of the associated Account |
| birthday | String | Contact's birthday |
| marketingCommunications | Boolean | If true, Contact can receive marketing communications |
RESPONSE
Returns a JSON with information about the Contact just updated.
| Attribute | Description |
|---|---|
| Message | Shows the operation status |
RESPONSE CODES
| Status | Description |
|---|---|
| 200 OK | Shows if operation succeeded |
| 400 Bad Request | Shows 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
Response
Update Contact
Changes
No recorded changes to this operation across all 1 revision of this API.