Topic 3

Customer Leave Scheme (topic 3) is triggered when a customer account leaves a scheme.

Payload

Loyale sends an HTTP POST whose JSON body is a CustomerResultView.

PropertyTypeNotes
idstringCustomer identifier
emailstring | nullEmail address
passwordstring | nullPlain password only when a password-change flow supplies it; otherwise null
firstNamestring | null
namestringComputed full name
lastNamestring | null
dobdate-time | null
genderGenderEnum value
areaCodestring | null
mobileNumberstring | null
addressLine1string | null
addressLine2string | null
townstring | null
statestring | null
postCodestring | null
countrystring | null
marketingSubbooleanMarketing subscription state
barCodestring | null
createdBystring | null
updatedBystring | null
detailedLevelsLegacyCustomerLevelView[] | null
levelsLevelResultView[] | null
schemesCustomerSchemeResultView[] | null
createdDatedate-timeUTC
updatedDatedate-timeUTC
lastConnectedDatedate-time | nullUTC
lastTransactionDatedate-time | nullUTC
additionalCustomerFieldsAdditionalCustomerFieldsResultView[] | null
profileImageUrlstring | null
onHoldbooleanTrue when the account is suspended
deletedboolean
emailVerifiedboolean
mobileNumberVerifiedboolean
externalRefIdstring | null
isPartialboolean
isGuestboolean
isChildboolean
parentParentAdditionalFieldsView | null
balancePointBalanceSummaryResult | null
customerDevicesCustomerDevicesResultView[] | null

What’s Next