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.
| Property | Type | Notes |
|---|---|---|
id | string | Customer identifier |
email | string | null | Email address |
password | string | null | Plain password only when a password-change flow supplies it; otherwise null |
firstName | string | null | |
name | string | Computed full name |
lastName | string | null | |
dob | date-time | null | |
gender | Gender | Enum value |
areaCode | string | null | |
mobileNumber | string | null | |
addressLine1 | string | null | |
addressLine2 | string | null | |
town | string | null | |
state | string | null | |
postCode | string | null | |
country | string | null | |
marketingSub | boolean | Marketing subscription state |
barCode | string | null | |
createdBy | string | null | |
updatedBy | string | null | |
detailedLevels | LegacyCustomerLevelView[] | null | |
levels | LevelResultView[] | null | |
schemes | CustomerSchemeResultView[] | null | |
createdDate | date-time | UTC |
updatedDate | date-time | UTC |
lastConnectedDate | date-time | null | UTC |
lastTransactionDate | date-time | null | UTC |
additionalCustomerFields | AdditionalCustomerFieldsResultView[] | null | |
profileImageUrl | string | null | |
onHold | boolean | True when the account is suspended |
deleted | boolean | |
emailVerified | boolean | |
mobileNumberVerified | boolean | |
externalRefId | string | null | |
isPartial | boolean | |
isGuest | boolean | |
isChild | boolean | |
parent | ParentAdditionalFieldsView | null | |
balance | PointBalanceSummaryResult | null | |
customerDevices | CustomerDevicesResultView[] | null |
Updated 2 days ago