Entity Posting API - Customer Add/Update
If the CustomerId does not exist, a new Customer record will be created. If it does, it will be updated.
Triggered Updates:
- No other data effected
Standard ShowTimeAnalytics Message Parameters:
- DataSupplierID: Assigned unique identifier for your account
- String
(required) - MessageSequence: Unique sequence number incremented for each message posted
- Long
(required) - CallbackUrl: Dataprovider defined URL that result of processing the message is posted back to
- String
Fields for Customer Entity:
- ID attribute: Unique identifier for customer
- String
(required) - Name: Customer name
- String
- LastName: Customer last name
- String
- Type: Base categorisation for customer
- String
- Deleted: Deleted flag for a customer record. This should be set to true when the customer is flagged as deleted in the POS system. Anonymization of identifable information may also be required
- true/false
- Tags: User defined list of tags they might want to filter on
- String
- Gender: Customer gender
- M/F
- DateOfBirth: Customer date of birth
- yyyy-mm-dd
- Telephone: Customer contact telephone number
- String
- Email: Customer contact email address
- String
- Address: Customer's home address
- Line1: Line1 of customer's home address
- String
- Line2: Line2 of customer's home address
- String
- Line3: Line3 of customer's home address
- String
- Town: Town/City of customer's home address
- String
- Region: Region/County of customer's home address
- String
- Country: Country of customer's home address
- String
(required) - PostCode: Postcode/Zip code of customer's home address
- String
- Line1: Line1 of customer's home address
- Accounts: Details of the different accounts the customer belongs to. These accounts can have movements attached to them.
- ID attribute: Unique identifier for customer account
- String
(required) - Name: Account name
- String
- Scheme: The name of the Scheme this account belongs to
- String
(required) - Tier: The name of the Tier within the Scheme that this account belongs to
- String
- Type: Base categorisation for customer account
- String
- Tags: User defined list of tags they might want to filter on
- String
- CreatedDate: Date account was created
- yyyy-mm-dd
- ExpiryDate: Next expiry date for account
- yyyy-mm-dd
- ID attribute: Unique identifier for customer account
- MarketingNewsLetter: Indicator whether customer agreed to receive the newsletter
- true/false
- MarketingAcceptPostal: Indicator whether customer agreed to be contacted by postal address
- true/false
- MarketingAcceptEmail: Indicator whether customer agreed to be contacted by email address
- true/false
- MarketingAcceptTelephone: Indicator whether customer agreed to be contacted by telephone
- true/false
Customer accounts are automatically created as a function of the Account Movements
PLEASE NOTE: All field and attribute names are case sensitive
Message Structure - XML:
Callback Post Fields:
- DataSupplierID: Unique identifier for your account, same as passed in post message
- MessageSequence: Unique sequence number for message, same as passed in post message
- ID attribute: Unique identifier for customer, same as passed in post message
- entity attribute: Key to identify the entity type for customer
- Status: Processing result flag - ok/error
- Error: If the status flag is "error", list of warning messages during processing