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
- Enabled: Enabled flag
- true/false
- 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
- SignedUpSiteId: Unique identifier for site that the customer signed up to
- String
- UpdateDateTime: Marketable status update date time
- ISO-8601 datetime
- CustomerAccounts:
- Details of the different accounts the customer belongs to.
- ID attribute: Unique identifier for customer account
- String
(required) - Name: Account name
- String
- TypeId: Base categorisation for customer account
- String
- CardId: account's card number
- String
- Cost:
- Integer
- Precision attribute: The number of Integer places in the Cost field
- Integer
(required)
- CustomerAccountActivities:
- Id attribute:
- String
(required) - StartDate:
- yyyy-mm-dd
- EndDate:
- yyyy-mm-dd
- SchemeId: The name of the Scheme this account belongs to
- String
- TierId: The name of the Tier within the Scheme that this account belongs to
- String
- IsRenewal:
- true/false
(required)
- Id attribute:
- CustomerAccountBenefits:
- Id attribute:
- String
(required) - Name:
- String
- Units:
- String
- TypeId:
- String
- ExpiryDate:
- yyyy-mm-dd
- Deleted:
- true/false
- ID attribute: Unique identifier for customer account
- CustomerAccountPromotions:
- Id attribute:
- String
(required) - Name:
- String
- Units:
- String
- PromotionId:
- String
- ExpiryDate:
- yyyy-mm-dd
- Type attribute:
- String
(required) - Period attribute:
- String
(required)
- Active attribute:
- true/false
(required)
- Delete attribute: Flag to delete customer's site
- 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