User Custom Fields
Status: Trusted Tester
Custom fields associated with a user. The field definitions can be managed at Partner Center -> Administration -> Custom Fields.
One form of identifier should be chosen, either fieldId or externalId.
fieldId is the computer generated ID (like FieldID-abc448ca-abc0-abc5-abc2-abc640bf4b99) and externalId is a optional human-readable ID that can be set in the administration panel.
Dropdown possible value and the currency code are also configured in the Administration panel.
An identifier for the parent entity, in this case user
U-12345678-abcd-1234-abcd-123456789abcShould always be userCustomFields
Possible values: [userCustomFields]
userCustomFieldspartnerFields object[]
List of custom fields specific to the partner with a direct relationship to the user/contact. To send a new value each field must have at least the fieldId and its correspondent value. For example a field of type string must have the stringValue attribute filled.
string -> stringValue
integer -> integerValue
date -> dateValue
Only the fields that you wish to modify need to be sent.
Field identifier, can be retrieved by listing the attributes
Alternative field identifier, can be set on admin panel and can be retrieved by listing the attributes
Indicates which of the value fields to use to read or write the data. It can only be modified from within partner center.
string -> stringValue integer -> integerValue date -> dateValue dropdown -> dropdownValue currency -> currencyValue
Possible values: [string, integer, date, dropdown, currency]
stringRequired when the field type is string
Required when the field type is integer
Required when the field type is date
Required when type is dropdown. The possible values can be discovered using the administration panel.
Required when the field type is currency.
This field represents the cents (or the smallest part of the currency).
Example: USD 600.00 -> currencyValue=60000
Represents the type of currency when the field is type currency. It will be the 3 letter currency code as defined by ISO 4217
Ex: USD, CAD, AUD
Possible values: >= 3 characters and <= 3 characters
USDThe main label for the field, appearing in most user interfaces that show the value. This field is not read when setting a value.
A longer text explanation of the field, it optionally appears in the UI. This field is not read when setting a value.
{
"id": "U-12345678-abcd-1234-abcd-123456789abc",
"type": "userCustomFields",
"partnerFields": [
{
"fieldId": "string",
"externalId": "string",
"fieldType": "string",
"stringValue": "string",
"integerValue": 0,
"dateValue": "2024-07-29",
"dropdownValue": "string",
"currencyValue": 0,
"currencyCode": "USD",
"title": "string",
"description": "string"
}
]
}