Topic 1

Customer Account Update (topic 1) is triggered when customer or related account data changes. This includes profile and barcode updates, password resets, verification changes, additional customer field changes, and level-related updates.

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

Password handling: On topic 1, always check password for null. Update a downstream password only when this value is present.


What’s Next