POST contact_information/update
This method update a contact information. Single contact information can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null. All addresses, phones and emails which are added on the contact information are added as active
Resource URL
http://host_name/crmapi/rest/$version/contact_information/update
Parameters
Name | Type | Description | |||||||||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||||||||
contact_information_identifier (mandatory) | String | The identifier of the contact information to be updated. The allowed contact information identifier fields are the following:
| |||||||||||||||||||||
title (optional) | String | The title of the contact information. Applicable only if the type is PERSON | |||||||||||||||||||||
first_name (mandatory on conditions) | String | The first name of the contact information. Applicable and mandatory only if the type is PERSON | |||||||||||||||||||||
middle_name (optional) | String | The middle name of the contact information. Applicable only if the type is PERSON | |||||||||||||||||||||
last_name (mandatory on conditions) | String | The last name of the contact information. Applicable and mandatory only if the type is PERSON | |||||||||||||||||||||
company_name (mandatory on conditions) | String | The company name of the contact information. Applicable and mandatory only if the type is COMPANY | |||||||||||||||||||||
category_identifier (optional) | Identifier | The identifier of the contact category that will be associate with the contact information. The allowed contact category identifier fields are the following:
| |||||||||||||||||||||
owned_by_group_identifier (optional) | Group identifier | The group owning the contact information. The allowed group identifier fields are the following:
| |||||||||||||||||||||
privacy_level_identifier (optional) | Privacy level identifier | The privacy level of the contact information. The allowed privacy level identifier fields are the following:
Deprecated from CRM.COM R18.0.0 | |||||||||||||||||||||
notes (optional) | String | Notes for the contact information | |||||||||||||||||||||
send_direct_marketing_material (optional) | Boolean | The Contact Information's authorization setting for Direct Marketing Available from CRM.COM R9.0.0 | |||||||||||||||||||||
send_affiliate_marketing_material (optional) | Boolean | The Contact Information's authorization setting for Affiliate Marketing Available from CRM.COM R9.0.0 | |||||||||||||||||||||
preferred_language (optional) | String | The Contact Information's preferred language. The available options are:
Available from CRM.COM R12.0.0 | |||||||||||||||||||||
udf_string_1 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_2 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_3 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_4 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_5 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_6 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_7 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_8 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_9 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_10 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_11 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_12 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_13 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_14 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_15 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_string_16 (optional) | String | User Defined Field of type String | |||||||||||||||||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_5 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_6 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_7 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_float_8 (optional) | Float | User Defined Field of type Float | |||||||||||||||||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_5 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_6 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_7 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
udf_date_8 (optional) | Date | User Defined Field of type Date | |||||||||||||||||||||
custom_field_set (optional) | Set of Custom Fields | The custom fields that are associated with the contact information If no records are specified in the set then nothing will be updated. To add or update a value on a custom field use the custom field name as configured in CRM.COM along with the respective value. To remove a value from a custom field use the custom field name as configured in CRM.COM along with an empty value "custom_field_set": [ {"field_name" : "value"}, {"field_name" : "value"} ] Available from CRM.COM R16.2.0 | |||||||||||||||||||||
(optional) | Demographics object | The demographics of the contact information. Applicable only if the type is PERSON | |||||||||||||||||||||
(optional) | Company profile object | The company profile of the contact information. Applicable only if the type is COMPANY | |||||||||||||||||||||
(optional) | Address object | The addresses of the contact information
If no records are specified in the set then nothing will be updated. To update a record use "action" : "update". To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example: "set": [ { "action": "update", ........... }, { "action": "remove", ........... }, { "action": "add", ........... } ] | |||||||||||||||||||||
(optional) | Phone object | The phone of the contact information
If no records are specified in the set then nothing will be updated. To update a record use "action" : "update". To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example: "set": [ { "action": "update", ........... }, { "action": "remove", ........... }, { "action": "add", ........... } ] | |||||||||||||||||||||
(optional) | Email object | The email of the contact information
If no records are specified in the set then nothing will be updated. To update a record use "action" : "update". To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example: "set": [ { "action": "update", ........... }, { "action": "remove", ........... }, { "action": "add", ........... } ] | |||||||||||||||||||||
(optional) | Contact Information business and personal relation object | The business and personal relations of the contact information If no records are specified in the set then nothing will be updated. To update a record use "action" : "update". To remove a record use "action" : "remove". To add a record use "action" : "add". Different actions can be used within the same set. For example: "set": [ { "action": "update", ........... }, { "action": "remove", ........... }, { "action": "add", ........... } ] | |||||||||||||||||||||
(optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned Available from CRM.COM R10.0.0 |
Referred Parameter Objects Data
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved contact information |
type | String | The type of the retrieved contact information which can be PERSON or COMPANY |
life_cycle_state | String | The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL |
name | String | The full name of the retrieved contact information |
title | String | The title of the retrieved contact information |
first_name | String | The first name of the retrieved contact information |
middle_name | String | The middle name of the retrieved contact information |
last_name | String | The last name of the retrieved contact information |
company_name | Sting | The company name of the retrieved contact information |
notes | String | Notes for the contact information |
organizational_unit | Integer | Indicates whether a contacts belongs to an organisational unit or not |
preferred_language | String | The Contact Information's preferred language. The available values are:
Available from CRM.COM R12.0.0 |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_string_9 | String | User Defined Field of type String |
udf_string_10 | String | User Defined Field of type String |
udf_string_11 | String | User Defined Field of type String |
udf_string_12 | String | User Defined Field of type String |
udf_string_13 | String | User Defined Field of type String |
udf_string_14 | String | User Defined Field of type String |
udf_string_15 | String | User Defined Field of type String |
udf_string_16 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_float_5 | Float | User Defined Field of type Float |
udf_float_6 | Float | User Defined Field of type Float |
udf_float_7 | Float | User Defined Field of type Float |
udf_float_8 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
udf_date_5 | Date | User Defined Field of type Date |
udf_date_6 | Date | User Defined Field of type Date |
udf_date_7 | Date | User Defined Field of type Date |
udf_date_8 | Date | User Defined Field of type Date |
kyc_profile | KYC profile object | The KYC profile information of the retrieved contact information Available from CRM.COM R14.0.0 |
Demographics object | The demographics of the retrieved contact information | |
Company profile object | The company profile of the retrieved contact information | |
Category object | The category of the retrieved contact information | |
owned_by_group | Group object | The group that is owning the contact information Deprecated from CRM.COM R18.0.0 (replaced with owned_by_business_unit) |
owned_by_business_unit | Business Unit Object | The business unit that is owning the contact information Available from CRM.COM R18.0.0 |
privacy_level | Privacy level object | The contact information's privacy level |
Log Information Object | The log information related with the retrieved accounts receivable | |
Set of Contact information address Object | The addresses of the retrieved contact information | |
Set of Contact information phone Object | The phones of the retrieved contact information | |
Set of Contact information email Object | The emails of the retrieved contact information | |
relation_set | Set of Contact Information business and personal relation Objects | The business and personal relations of the retrieved contact information |
authorization_settings | Contact Information Authorization settings object | The contact information's authorization settings information Available from CRM.COM R9.0.0 |
consent_information | Contact Consent Object | The contact information's consent information Available from CRM.COM R14.1.0 |
Referred Objects Response Data