Skip to main content

Inbound Integration Guide - CRM Data

Description

This How-to guide explains the integration of following configuration data entities.

  • customer
  • customerCustomerGroup
  • customerNote
  • customerKeyDate
  • customerPreference
  • customerRelationship
  • customerGroup (Group)
  • customerPreferenceOptionSet (OptionSet)

Notes

This guide does not cover all possible integration topics. Please see the Enactor Books for detailed information.

See the Inbound Integration Guide - Introduction for the basics of importing and exporting data.

This guide will use manual import and export of data using the Enactor Estate Manager.

Overview

Customer data has many interaction points in the applications. These could be within the Customer Relationship Management (CRM) system, loyalty, and promotions to name a few.

To use customer preference option set data with a customer, the customer preference option must be setup within the OptionSet data.

To use customers with promotions, the customer must be part of a customer group which is configured within the group data.

customer

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customer>
<retail:addresses>
<retail:address>
<retail:countryCodeId></retail:countryCodeId>
<retail:isPreferred>true</retail:isPreferred>
<retail:typeId></retail:typeId>
<retail:county>Hertfordshire</retail:county>
<retail:postCode>SG132PE</retail:postCode>
<retail:street1>Rowneybury</retail:street1>
<retail:street2>Union Wood</retail:street2>
<retail:town>Harlow</retail:town>
<retail:isTemplate>false</retail:isTemplate>
<retail:referenceId></retail:referenceId>

<retail:addressReferenceId>6</retail:addressReferenceId>
</retail:address>
<retail:address>
<retail:country>UK</retail:country>
<retail:countryCodeId>GB</retail:countryCodeId>
<retail:isPreferred>false</retail:isPreferred>
<retail:organisation>org</retail:organisation>
<retail:typeId>ADDRESS_OTHER</retail:typeId>
<retail:county>county</retail:county>
<retail:postCode>SG14 1PB</retail:postCode>
<retail:street1>str1</retail:street1>
<retail:street2>str2</retail:street2>
<retail:street3>str3</retail:street3>
<retail:town>town</retail:town>
<retail:isTemplate>false</retail:isTemplate>
<retail:referenceId></retail:referenceId>

<retail:addressReferenceId>25:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:addressReferenceId>
</retail:address>
</retail:addresses>
<retail:contactMethod></retail:contactMethod>
<retail:contactMethodNotes></retail:contactMethodNotes>
<retail:contactable>false</retail:contactable>
<retail:dateCreated>2014-06-04T16:26:25+01:00</retail:dateCreated>
<retail:maritalStatus></retail:maritalStatus>
<retail:nationality></retail:nationality>
<retail:noChildren>0</retail:noChildren>
<retail:customerNumber>7</retail:customerNumber>
<retail:emailAddresses>
<retail:emailAddress>demo@enactor.co.uk</retail:emailAddress>

<retail:preferred>true</retail:preferred>
<retail:restrictedReason></retail:restrictedReason>
<retail:status></retail:status>
<retail:typeId></retail:typeId>
<retail:referenceId>6</retail:referenceId>
<retail:active>false</retail:active>
<retail:emailAddressReferenceId></retail:emailAddressReferenceId>
</retail:emailAddresses>
<retail:emailAddresses>
<retail:emailAddress>someone@nowhere.com</retail:emailAddress>

<retail:preferred>false</retail:preferred>
<retail:restrictedReason></retail:restrictedReason>
<retail:status></retail:status>
<retail:typeId>EMAIL_WORK</retail:typeId>
<retail:validFrom>2020-11-19T00:00:00Z</retail:validFrom>
<retail:validTo>2020-11-20T00:00:00Z</retail:validTo>
<retail:referenceId></retail:referenceId>
<retail:active>false</retail:active>
<retail:emailAddressReferenceId></retail:emailAddressReferenceId>
</retail:emailAddresses>
<retail:phoneNumbers>
<retail:countryCode></retail:countryCode>

<retail:number>01922567432</retail:number>
<retail:preferred>false</retail:preferred>
<retail:restrictedReason></retail:restrictedReason>
<retail:status></retail:status>
<retail:typeId></retail:typeId>
<retail:referenceId></retail:referenceId>
<retail:active>false</retail:active>
<retail:phoneNumberReferenceId>5</retail:phoneNumberReferenceId>
</retail:phoneNumbers>
<retail:phoneNumbers>
<retail:countryCode>+1</retail:countryCode>

<retail:number>1234567890</retail:number>
<retail:preferred>true</retail:preferred>
<retail:restrictedReason></retail:restrictedReason>
<retail:status></retail:status>
<retail:typeId>PHONE_WORK</retail:typeId>
<retail:referenceId></retail:referenceId>
<retail:active>false</retail:active>
<retail:phoneNumberReferenceId>838:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:phoneNumberReferenceId>
</retail:phoneNumbers>
<retail:customerName>
<retail:surname>Beckham</retail:surname>
<retail:forename>David</retail:forename>
<retail:initials>DB</retail:initials>
<retail:title>Mr</retail:title>
<retail:sex>MALE</retail:sex>
<retail:dateOfBirth>1950-01-01T00:00:00Z</retail:dateOfBirth>
</retail:customerName>
<retail:businessContactMethod></retail:businessContactMethod>
<retail:preferredContactTime></retail:preferredContactTime>
<retail:allowInternalMarketing>true</retail:allowInternalMarketing>
<retail:allowExternalMarketing>true</retail:allowExternalMarketing>
<retail:privacyLevel>1</retail:privacyLevel>
<retail:employeeKey></retail:employeeKey>

<retail:customerType></retail:customerType>
<retail:organisation>org</retail:organisation>
<retail:taxIdentification>taxid</retail:taxIdentification>
<retail:companyNumber>company</retail:companyNumber>
<retail:jobTitle>title</retail:jobTitle>
<retail:createdBy></retail:createdBy>
<retail:createdAt></retail:createdAt>
<retail:status>Active</retail:status>
<retail:source>pos1@0004.enactor</retail:source>
<retail:password></retail:password>
</retail:customer>

</Batch>

XML Structure

customer

XML TagParent ElementTypeDescriptionData TypeLength
customerRootouter wrapper for the entity
addressescustomerElementZero or more address records for the customer
addressaddressesElementAn address record for the customeraddress
contactMethodcustomerElementA contact type id from the available customer address contact typescontact
Type
contactMethod
Notes
customerElementNotes for the contact that was made with the customerstring
contactablecustomerElementIf true, customer is contactable;
if omitted, false
boolean
dateCreatedcustomerElementDate Time the record was createddatetime
createdBycustomerElementThe operator id of the person who created this customer recordUserKey
createdAtcustomerElementThe device where the customer was createdDeviceKey
sourcecustomerElementThe device where the customer was createdDeviceKey
maritalStatuscustomerElementThe customer marital statusstring
nationalitycustomerElementThe customer nationalitystring
noChildrencustomerElementThe number of children for the customerinteger
customerNumbercustomerElementThe unique Id for the customerstring
emailAddressescustomerElementA customer email addressemail
Addresses
phoneNumberscustomerElementZero or more phone numbers for the customerphone
Numbers
customerNamecustomerElementThe customers namecustomer
Name
business
ContactMethod
customerElementA contact type id from the available customer address contact typescontact
TypeKey
preferred
ContactTime
customerElementThe preferred time to contact the customerstring
allowInternal
Marketing
customerElementIf true, the customer accepts internal marketing;
if omitted, false
boolean
allowExternal
Marketing
customerElementIf true, the customer accepts external marketing;
if omitted, false
boolean
employeeKeycustomerElementIf the customer is an employee, the employee key from the employee dataemployee
Key
customerTypecustomerElementA customer type from the available customer typescustomer
Type
priceTypeIdcustomerElementThe customer's price type for specific customer pricingstring
organisationcustomerElementThe customer's organisationstring
taxIdentificationcustomerElementThe customer's tax identificationstring
company
Number
customerElementThe customer's company idstring
occupationcustomerElementThe customer occupationstring
jobTitlecustomerElementThe customer job titlestring
tradingNamecustomerElementThe customer trading namestring
lastTransaction
Date
customerElementThe date time of the last customer transactiondatetime
statuscustomerElementOne of the following status for the customer: New, Captured, Active, Inactivefixed string
passwordcustomerElementThe customer encrypted passwordstring

address

XML TagParent ElementTypeDescriptionData TypeLength
addressRootouter wrapper for the entity
countryCodeIdaddressElementThe country code for the addressstring
isPreferredaddressElementif true, this is the preferred contact address for the customer;
if omitted, false
boolean
typeIdaddressElementA contact type id from the available customer address contact typesContactType
Key
organisationaddressElementThe customer organisationstring
countyaddressElementThe customer countystring
postCodeaddressElementThe customer post codestring
street1addressElementThe customer street addressstring
street2addressElementAdditional customer street infostring
street3addressElementAdditional customer street infostring
townaddressElementThe customer town / citystring
isTemplateaddressElementif true, this information is a template;
if omitted, false
boolean

emailAddresses

XML TagParent ElementTypeDescriptionData TypeLength
emailAddressemailAddressesElementThe customer email addressstring
emailAddressesRootouter wrapper for the entity
preferredemailAddressesElementIf true, this is the customer preferred address;
If omitted, false
boolean
restrictReasonemailAddressesElementA reason code for restricted accessReasonCode
Key
statusemailAddressesElementOne of the following status for the customer: New, Captured, Active, Inactivefixed string
typeIdemailAddressesElementA contact type id from the available customer email contact typesContactType
Key
validFromemailAddressesElementDate time from which this email is valid;
if omitted, no restriction
date time
validToemailAddressesElementDate time to which this email is valid;
if omitted; no restriction
date time
activeemailAddressesElementIf true, email is active;
if omitted, false
boolean

phoneNumbers

XML TagParent ElementTypeDescriptionData TypeLength
phoneNumbersRootouter wrapper for the entity
countryCodephoneNumbersElementThe customer country codestring
numberphoneNumbersElementThe customer phone numberstring
preferredphoneNumbersElementIf true, this is the customer preferred address;
If omitted, false
boolean
restrictedReasonphoneNumbersElementA reason code for restricted accessReasonCode
Key
statusphoneNumbersElementOne of the following status for the customer: New, Captured, Active, Inactivefixed string
typeIdphoneNumbersElementA contact type id from the available customer email contact typesContactType
Key
validFromphoneNumbersElementDate time from which this email is valid;
if omitted, no restriction
date time
validTophoneNumbersElementDate time to which this email is valid;
if omitted; no restriction
date time
activephoneNumbersElementIf true, email is active;
if omitted, false
boolean

customerName

XML TagParent ElementTypeDescriptionData TypeLength
customerNameRootouter wrapper for the entity
surnamecustomerNameElementCustomer surname/last namestring
forenamecustomerNameElementCustomer forename/first namestring
initialscustomerNameElementCustomer initialsstring
titlecustomerNameElementCustomer titlestring
sexcustomerNameElementCustomer sexstring
dateOfBirthcustomerNameElementDate of birth (date time with time as 00:00:00Z)date time

customerCustomerGroup

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerCustomerGroup>
<retail:groupId variantGroupHierarchyId="All" variantGroupId="All" variantGroupTypeId="region" groupHierarchyId="CUSTOMER" groupTypeId="customerGroup">VIP</retail:groupId>
<retail:customerId>7</retail:customerId>
</retail:customerCustomerGroup>

</Batch>

XML Structure

customerCustomerGroup

XML TagParent ElementTypeDescriptionData TypeLength
customer
customerGroup
Rootouter wrapper for the entity
groupIdcustomer
customerGroup
ElementThe group id
(see Group)
Group
variantGroup
HierarchyId
groupIdAttributeThe group hierarchyGroup
variantGroupIdgroupIdAttributeThe region IdGroup
variantGroup
TypeId
groupIdAttributefixed: regionGroup
groupHierarchyIdgroupIdAttributeThe name of the customer group hierarchyGroup
groupTypeIdgroupIdAttributefixed: customerGroupGroup
customerIdcustomer
CustomerGroup
ElementThe customer Id that should be part of this groupstring

customerNote

XML Example

Public Note

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core" xmlns:retail="http://www.enactor.com/retail" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<retail:customerNote>
<retail:userId>KEN.BUNDY</retail:userId>
<retail:customerId>7</retail:customerId>
<retail:isPrivate>false</retail:isPrivate>
<retail:noteId>c3f2-:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:noteId>
<retail:notes>public note</retail:notes>
</retail:customerNote>
</Batch>

Private Note

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core" xmlns:retail="http://www.enactor.com/retail" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<retail:customerNote>
<retail:userId>KEN.BUNDY</retail:userId>
<retail:customerId>7</retail:customerId>
<retail:isPrivate>true</retail:isPrivate>
<retail:noteId>71c2-:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:noteId>
<retail:notes>private note</retail:notes>
</retail:customerNote>
</Batch>

XML Structure

customerNote

XML TagParent ElementTypeDescriptionData TypeLength
customerNoteRootouter wrapper for the entity
userIdcustomerNoteElementThe user id that created the noteUserKey
customerIdcustomerNoteElementThe customer id for the noteCustomer
Key
isPrivatecustomerNoteElementIf true, the note is private and can only be viewed by the user id who created the note;
if omitted, false
boolean
noteIdcustomerNoteElementIf provided, replace the note with the same id;
if omitted, create a new note
string
notescustomerNoteElementThe note textstring

customerKeyDate

XML Example

recurring key date

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerKeyDate>
<retail:customerId>7</retail:customerId>
<retail:details>detail note</retail:details>
<retail:generateReminder>false</retail:generateReminder>
<retail:keyDate>
<core:recurrenceType>ANNUALLY</core:recurrenceType>
<core:startDate>2020-11-03T00:00:00Z</core:startDate>
</retail:keyDate>
<retail:keyDateId>4043-:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:keyDateId>
<retail:customerKeyDateTypeId>ANNIVERSARY</retail:customerKeyDateTypeId>

<retail:createdBy>KEN.BUNDY</retail:createdBy>
<retail:creationDate>2020-11-19T17:15:21Z</retail:creationDate>
<retail:amendedBy></retail:amendedBy>
</retail:customerKeyDate>
</Batch>

non-recurring key date

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerKeyDate>
<retail:customerId>7</retail:customerId>
<retail:details></retail:details>
<retail:generateReminder>false</retail:generateReminder>
<retail:keyDate>
<core:recurrenceType>NONE</core:recurrenceType>
<core:startDate>2020-11-02T00:00:00Z</core:startDate>
</retail:keyDate>
<retail:keyDateId>23a3-:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:keyDateId>
<retail:customerKeyDateTypeId>ANNIVERSARY</retail:customerKeyDateTypeId>
<retail:createdBy>KEN.BUNDY</retail:createdBy>
<retail:creationDate>2020-11-19T17:14:55Z</retail:creationDate>
<retail:amendedBy></retail:amendedBy>
</retail:customerKeyDate>
</Batch>

XML Structure

customerKeyDate

XML TagParent ElementTypeDescriptionData TypeLength
customerKeyDateRootouter wrapper for the entity
customerIdcustomerKeyDateElementThe customer id for the dateCustomer
Key
detailscustomerKeyDateElement
generate
Reminder
customerKeyDateElementIf true, generate a reminder for the user who created the note;
if omitted, false
boolean
keyDatecustomerKeyDateElementA date for the customerkeyDate
keyDateIdcustomerKeyDateElementIf provided, replace the keydate with the same id;
if omitted, create a new keydate
string
customerKey
DateTypeId
customerKeyDateElementOne of the key date types from customer key date typesCustomer
KeyDate
TypesKey
createdBycustomerKeyDateElementThe user who created the key dateUserKey
creationDatecustomerKeyDateElementThe date time when the key date was createddate time
amendedBycustomerKeyDateElementthe user who modified the key dateUserKey

keyDate

XML TagParent ElementTypeDescriptionData TypeLength
keyDateRootouter wrapper for the entity
recurrenceTypekeyDateElementfixed: ANNUALLY, NONEfixed string
startDatekeyDateElementThe date of the key date (date time with time as 00:00:00Z)date time

customerPreference

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerPreference>
<retail:created>2020-11-19T17:16:16Z</retail:created>
<retail:optionPathId>Email:Email_Optin</retail:optionPathId>
<retail:optionSetId type="customerPreferenceOptionSet" optionSetId="CONTACT_PERMISSIONS">
<retail:groupId groupHierarchyId="All" groupTypeId="region">All</retail:groupId>
</retail:optionSetId>
<retail:customerId>7</retail:customerId>
<retail:preferenceId>bff1-:ea24d71e571:d83a46e1:0147d192d4f16f19</retail:preferenceId>
<retail:value id="Email:Email_Optin">true</retail:value>
</retail:customerPreference>

</Batch>

XML Structure

customerPreference

XML TagParent ElementTypeDescriptionData TypeLength
customer
Preference
Rootouter wrapper for the entity
createdcustomer
Preference
Elementthe date time when the option data was createddate time
optionPathIdcustomer
Preference
ElementThe option preferenceOptionKey
customerIdcustomer
Preference
ElementThe customer for this preference valueCustomer
Key
preferenceIdcustomer
Preference
ElementIf provided, replace this customer preference record with the data provided;
if omitted, create a new customer preference value for this preference
string
valuecustomer
Preference
ElementThe value of the preferencestring
idvalueAttributeThe option preference (should match optionPathId above)OptionKey

optionSetId

XML TagParent ElementTypeDescriptionData TypeLength
optionSetIdRootouter wrapper for the entity
typeoptionSetIdAttributefixed: customerPreferenceOptionSetfixed string
optionSetIdoptionSetIdAttributeThe id of the customer preference option setcustomer
Preference
OptionSet
Key
groupIdoptionSetIdElementThe region id for this option setRegionKey
groupHierarchyIdgroupIdAttributeThe region hierarchy keyGroupKey
groupTypeIdgroupIdAttributefixed: regionfixed string

customerRelationship

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerRelationship>
<retail:customerId>7</retail:customerId>
<retail:relatedCustomerKey>19</retail:relatedCustomerKey>
<retail:relationshipId>d595-:4f9beb1e571:d83a46e1:0147d192d4f16f19</retail:relationshipId>
<retail:relationshipTypeId>SIBLING</retail:relationshipTypeId>
</retail:customerRelationship>

</Batch>

XML Structure

customerRelationship

XML TagParent ElementTypeDescriptionData TypeLength
customer
Relationship
Rootouter wrapper for the entity
customerIdcustomer
Relationship
ElementThe customer for this relationshipCustomer
Key
relatedCustomer
Key
customer
Relationship
ElementThe customer being related to this customerCustomer
Key
relationship
TypeId
customer
Relationship
ElementThe relationship type from the customer relationship typesCustomer
Relationship
TypeKey
relationshipIdcustomer
Relationship
ElementIf provided, replace this customer relationship record with the data provided;
if omitted, create a new customer relationship
string

customerGroup

See Group for more detailed information.

XML Example

CUSTOMER Group (Parent)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerGroup>
<retail:groupId>CUSTOMER</retail:groupId>
<retail:groupTypeId>customerGroup</retail:groupTypeId>
<retail:groupHierarchyId>CUSTOMER</retail:groupHierarchyId>
<retail:level>1</retail:level>
<retail:level1GroupId>CUSTOMER</retail:level1GroupId>
<retail:name>CUSTOMER</retail:name>
<retail:localisedName>
<core:string variant="" language="" country="GB">CUSTOMER</core:string>
</retail:localisedName>
<retail:variantGroupId>All</retail:variantGroupId>
<retail:variantGroupTypeId>region</retail:variantGroupTypeId>
<retail:variantGroupHierarchyId>All</retail:variantGroupHierarchyId>
<retail:variantLevel>1</retail:variantLevel>
</retail:customerGroup>
</Batch>

VIP Customer Group (Child of CUSTOMER)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:customerGroup>
<retail:groupId>VIP</retail:groupId>
<retail:groupTypeId>customerGroup</retail:groupTypeId>
<retail:groupHierarchyId>CUSTOMER</retail:groupHierarchyId>
<retail:level>2</retail:level>
<retail:level10GroupId></retail:level10GroupId>
<retail:level1GroupId>CUSTOMER</retail:level1GroupId>
<retail:level2GroupId>VIP</retail:level2GroupId>
<retail:name>VIP Customer</retail:name>
<retail:localisedName>
<core:string variant="" language="" country="GB">VIP Customer</core:string>
<core:string variant="" language="en" country="US">VIP Customer</core:string>
</retail:localisedName>
<retail:variantGroupId>All</retail:variantGroupId>
<retail:variantGroupTypeId>region</retail:variantGroupTypeId>
<retail:variantGroupHierarchyId>All</retail:variantGroupHierarchyId>
<retail:variantLevel>1</retail:variantLevel>
</retail:customerGroup>
</Batch>

XML Structure

customerGroup

XML TagParent ElementTypeDescriptionData TypeLength
customer
Group
Rootouter wrapper for the entity
groupIdcustomerGroupElementUnique name for the groupstring
groupTypeIdcustomerGroupElementfixed: customerGroupfixed string
groupHierarchyIdcustomerGroupElementUnique name for the hierarchystring
levelcustomerGroupElementLevel in the hierarchy structureinteger
level1GroupIdcustomerGroupElementTop level in the group structure
repeat for level 1-10 as needed based on level value
string
namecustomerGroupElementName value that will be used in the user interfacestring
localisedNamecustomerGroupElementLocalised string values that will be used in the user interfacelocalised
Name
variantGroupIdcustomerGroupElementThe region for this groupRegionKey
variantGroup
TypeId
customerGroupElementfixed: regionfixed string
variantGroup
HierarchyId
customerGroupElementThe hierarchy for this groupHierarchy
Key
variantLevelcustomerGroupElementLevel in the hierarchy for this groupinteger

localisedName

XML TagParent ElementTypeDescriptionData TypeLength
localisedNameRootouter wrapper for the entity
stringlocalisedNameElementstring data in country specific languagestring
variantlocalisedNameAttributestring
languagelocalisedNameAttributelanguage specifer from the language specifier, e.g. en from en_USstring
countrylocalisedNameAttributecountry specifier from the language definition, e.g. US from en_USstring

customerPreferenceOptionSet

See OptionSet for more detailed information.

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<retail:optionSet>
<retail:name>Contact Permissions</retail:name>
<retail:optionSetId>CONTACT_PERMISSIONS</retail:optionSetId>
<retail:options>
<retail:optionGroup>
<retail:optionId>Email</retail:optionId>
<retail:name>Email</retail:name>
<retail:description>Email</retail:description>
<retail:title/>
<retail:subtitle/>
<retail:options>
<retail:booleanDataOption>
<retail:optionId>Email_Optin</retail:optionId>
<retail:name>Email_Optin</retail:name>
<retail:description>Email Optin</retail:description>
<retail:title/>
<retail:subtitle/>
</retail:booleanDataOption>
<retail:choiceDataOption>
<retail:optionId>Email_Frequency</retail:optionId>
<retail:name>Email_Frequency</retail:name>
<retail:description>Email Frequency</retail:description>
<retail:title/>
<retail:subtitle/>
<retail:values>
<retail:value key="Weekly">
<retail:choiceDataOptionEntry>
<retail:label>Once a week</retail:label>
</retail:choiceDataOptionEntry>
</retail:value>
<retail:value key="Monthly">
<retail:choiceDataOptionEntry>
<retail:label>Once a month</retail:label>
</retail:choiceDataOptionEntry>
</retail:value>
<retail:value key="Bi-Weekly">
<retail:choiceDataOptionEntry>
<retail:label>Once a fortnight</retail:label>
</retail:choiceDataOptionEntry>
</retail:value>
<retail:value key="Everything">
<retail:choiceDataOptionEntry>
<retail:label>Send me everything</retail:label>
</retail:choiceDataOptionEntry>
</retail:value>
</retail:values>
</retail:choiceDataOption>
</retail:options>
</retail:optionGroup>
<retail:optionGroup>
<retail:optionId>Mail</retail:optionId>
<retail:name>Mail</retail:name>
<retail:description>Mail</retail:description>
<retail:title/>
<retail:subtitle/>
<retail:options>
<retail:booleanDataOption>
<retail:optionId>Mail_Optin</retail:optionId>
<retail:name>Mail_Optin</retail:name>
<retail:description>Mail Optin</retail:description>
<retail:title/>
<retail:subtitle/>
</retail:booleanDataOption>
</retail:options>
</retail:optionGroup>
<retail:optionGroup>
<retail:optionId>SMS</retail:optionId>
<retail:name>SMS</retail:name>
<retail:description>SMS</retail:description>
<retail:title/>
<retail:subtitle/>
<retail:options>
<retail:booleanDataOption>
<retail:optionId>SMS_Optin</retail:optionId>
<retail:name>SMS_Optin</retail:name>
<retail:description>SMS Optin</retail:description>
<retail:title/>
<retail:subtitle/>
</retail:booleanDataOption>
</retail:options>
</retail:optionGroup>
<retail:optionGroup>
<retail:optionId>Phone</retail:optionId>
<retail:name>Phone</retail:name>
<retail:description>Phone</retail:description>
<retail:title/>
<retail:subtitle/>
<retail:options>
<retail:booleanDataOption>
<retail:optionId>Phone_Optin</retail:optionId>
<retail:name>Phone_Optin</retail:name>
<retail:description>Phone Optin</retail:description>
<retail:title/>
<retail:subtitle/>
</retail:booleanDataOption>
</retail:options>
</retail:optionGroup>
</retail:options>
<retail:type>customerPreferenceOptionSet</retail:type>

<retail:groupId groupHierarchyId="All" groupTypeId="region">All</retail:groupId>
<retail:prompt></retail:prompt>
<retail:title/>
<retail:subtitle/>
</retail:optionSet>
</Batch>

XML Structure

customerGroup

XML TagParent ElementTypeDescriptionData TypeLength
optionSetRootouter wrapper for the entity
nameoptionSetElementUnique name for the option setstring
optionSetIdoptionSetElementUnique ID for the option setstring
typeoptionSetElementfixed: customerPreferenceOptionSetfixed string
groupIdoptionSetElementRegion for this option setRegionKey
promptoptionSetElementnot used with this option set typestring
titleoptionSetElementnot used with this option set typestring
subtitleoptionSetElementnot used with this option set typestring
optionGroupoptionSetElementThe collection of options for this option setoptionGroup

optionGroup

XML TagParent ElementTypeDescriptionData TypeLength
optionGroupRootouter wrapper for the entity
optionIdoptionGroupElementstring
nameoptionGroupElementstring
descriptionoptionGroupElementstring
titleoptionGroupElementstring
subTitleoptionGroupElementstring
optionsoptionGroupElementOne or more options for this option set
(see OptionSet for information on option types)
options

customer Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerKey">customerId</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:CustomerKeyfixed string

customerCustomerGroup Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerCustomerGroupKey">
<retail:customerId>customerId</retail:customerId>
<retail:groupId variantGroupHierarchyId="variantGroupHierarchyId" variantGroupId="variantGroupId" variantGroupTypeId="variantGroupTypeId" groupHierarchyId="groupHierarchyId" groupTypeId="groupTypeId">groupId</retail:groupId>
</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:
CustomerCustomerGroupKey
fixed string
customerIdentityKeyElementThe customer id to remove from the customer groupCustomerKey
groupIdentityKeyElementThe group to remove the customer fromGroupKey

customerKeyDate Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerKeyDateKey">customerKeyDateId</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:
CustomerCustomerGroupKey
fixed string
customerIdentityKeyElementThe customer id to remove from the customer groupCustomerKey
groupIdentityKeyElementThe group to remove the customer fromGroupKey

customerNote Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerNoteKey">customerNoteId</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:
CustomerCustomerGroupKey
fixed string
customerIdentityKeyElementThe customer id to remove from the customer groupCustomerKey
groupIdentityKeyElementThe group to remove the customer fromGroupKey

customerPreference Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerPreferenceKey" preferenceId="customerPreferenceId">customerPreferenceId</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:
CustomerCustomerGroupKey
fixed string
customerIdentityKeyElementThe customer id to remove from the customer groupCustomerKey
groupIdentityKeyElementThe group to remove the customer fromGroupKey

customerRelationship Delete

XML Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<core:entityDeleteRequest xmlns:core="http://www.enactor.com/core"
xmlns:retail="http://www.enactor.com/retail"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<core:entityKey xsi:type="retail:CustomerRelationshipKey">customerRelationshipId</core:entityKey>
</core:entityDeleteRequest>

XML Structure

entityDeleteRequest

XML TagParent ElementTypeDescriptionData TypeLength
entityKeyentityDelete
Request
ElementThe customer id key to deleteString
typeentityKeyAttributeFixed:
CustomerCustomerGroupKey
fixed string
customerIdentityKeyElementThe customer id to remove from the customer groupCustomerKey
groupIdentityKeyElementThe group to remove the customer fromGroupKey