Loyalty Contact Input

Input representation of the loyalty program member’s person account.
Root XML tag
<loyaltyContactInput>
JSON example
1{
2  "enrollmentDate" : "2021-01-01T00:00:00",
3  "membershipNumber" : "Member1",
4  "associatedContactDetails" : {
5    "firstName" : "Name1",
6    "lastName" : "Name2",
7    "email" : "ab@gmail.com",
8    "allowDuplicateRecords" : "false",
9    "additionalContactFieldValues" : {
10      "attributes" : {
11        "PersonMailingCity" : "Delhi",
12        "CustomNumber__c" : "20.0"      }
13    }
Properties
Name Type Description Required or Optional Available Version
additionalContact​FieldValues Map<String, String> The additional attributes that must be saved in the person account. Optional 55.0
allowDuplicate​Records Boolean Indicates if a duplicate person account record can be created for a member when an existing person account record exists. This parameter works in conjunction with your Duplicate Rules. A Duplicate Rule's Action on Create setting determines if Salesforce allows or blocks a potential duplicate. For instructions on configuring these rules, see Manage Duplicate Records.

The default value is True.

Optional 55.0
email String Email ID of the person account. Optional 55.0
firstName String First name of the person account. Optional 55.0
lastName String Last name of the person account. Required 55.0