PATCH/contacts/custom-properties/{customPropertyId}
Updates a contact custom property of a domain.
Note
- This API operation cannot update the propertyName, propertyType, and multiValued values.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
contact
| Parameter | Type | Description |
|---|---|---|
| customPropertyId | string | customPropertyId or propertyName required example : custompi-5ge3-f6d7-ht33-35gr6e465u01 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID format : int32 |
| displayName | string | Custom property display name. It must be unique within a domain. maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | List of multilingual display names minItems : 0 |
| displayOrder | integer | Sort order. Duplicates are allowed and based on this value, custom properties are sorted in ascending order. If it is not specified (NULL), the custom property is located at the end of the list. minimum : 1 format : int32 nullable : true |
| Property | Type | Description |
|---|---|---|
| language | string | Language code Allowed values : ko_KR, ja_JP, zh_CN, zh_TW, en_US |
| name | string | Multilingual name maxLength : 20 |
example
1{2 "domainId": 10000001,3 "displayName": "ext_id",4 "i18nDisplayNames": [5 {6 "language": "en_US",7 "name": "external id"8 }9 ]10}OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID format : int32 |
| customPropertyId | string | Custom property ID. It is automatically assigned. readOnly : true |
| propertyName | string | Custom property name. maxLength : 120 |
| displayName | string | Custom property display name maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | List of multilingual display names minItems : 0 |
| propertyType | string | Custom property type
Allowed values : STRING, LINK |
| displayOrder | integer | Sort order. Duplicates are allowed and based on this value, custom properties are sorted in ascending order. If it is not specified (NULL), the custom property is located at the end of the list. minimum : 1 format : int32 nullable : true |
| multiValued | boolean | Indicates whether multiple values can be added for the same custom property. default : false |
| Property | Type | Description |
|---|---|---|
| language | string | Language code Allowed values : ko_KR, ja_JP, zh_CN, zh_TW, en_US |
| name | string | Multilingual name maxLength : 20 |
example
1{2 "domainId": 10000001,3 "customPropertyId": "custompi-5ge3-f6d7-ht33-35gr6e465u01",4 "propertyName": "ext_id",5 "displayName": "External ID",6 "i18nDisplayNames": [7 {8 "language": "ko_KR",9 "name": "External ID"10 },11 {12 "language": "en_US",13 "name": "external id"14 }15 ],16 "propertyType": "STRING",17 "displayOrder": 1,18 "multiValued": false19}Bad Request
Not Found