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:

Standard ShowTimeAnalytics Message Parameters:

Fields for Customer Entity:

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:

POST https://{{CIRCUIT_URL}}/data/pos/

POST - XML

<?xml version="1.0" encoding="UTF-8"?>
<ShowTimeAnalytics dataSupplierId="XXX" messageSequence="XXX">
	<CallbackUrl>https://XXX</CallbackUrl>
	<Customers>
		<Customer id="XXX">
			<Name>XXX</Name>
			<LastName>XXX</LastName>
			<Type>XXX</Type>
			<Deleted>XXX</Deleted>
			<Tags>
				<Tag>XXX</Tag>
			</Tags>
			<Gender>XXX</Gender>
			<DateOfBirth>XXX</DateOfBirth>
			<Telephone>XXX</Telephone>
			<Email>XXX</Email>
			<Address>
				<Line1>XXX</Line1>
				<Line2>XXX</Line2>
				<Line3>XXX</Line3>
				<Town>XXX</Town>
				<Region>XXX</Region>
				<Country>XXX</Country>
				<PostCode>XXX</PostCode>
			</Address>
			<Accounts>
				<Account id="XXX">
					<Name>XXX</Name>
					<Scheme>XXX</Scheme>
					<Tier>XXX</Tier>
					<Type>XXX</Type>
					<Tags>
						<Tag>XXX</Tag>
					</Tags>
					<CreatedDate>XXX</CreatedDate>
					<ExpiryDate>XXX</ExpiryDate>
				</Account>
			</Accounts>
			<MarketingNewsLetter>XXX</MarketingNewsLetter>
			<MarketingAcceptPostal>XXX</MarketingAcceptPostal>
			<MarketingAcceptEmail>XXX</MarketingAcceptEmail>
			<MarketingAcceptTelephone>XXX</MarketingAcceptTelephone>
		</Customer>
	</Customers>
</ShowTimeAnalytics>

Callback Post Fields:

Message Structure - XML:

<?xml version="1.0" encoding="UTF-8"?>
<ShowTimeAnalyticsResponse dataSupplierId="XXX" messageSequence="XXX">
    <Responses>
        <Response id="XXX" entity="Customer">
            <Status>XXX</Status>
            <Warnings>
            	<Warning>XXX</Warning>
            </Warnings>
            <Errors>
            	<Error>XXX</Error>
            </Errors>
        </Response>
    </Responses>
</ShowTimeAnalyticsResponse>