CommunicationPreferencesResponseDto
communicationPreferences object[]required
Array [
notificationTypestringrequired
Possible values: [NEW_LOYALTY, UPDATE_LOYALTY, REMINDER_LOYALTY, EARNINGS_UPDATE, NEW_COMMUNICATION, EXPIRED_COMMUNICATION, NEW_EVENT, UPDATE_EVENT, NEW_COUPON, UPDATE_COUPON, WELCOME_INTERNAL_CLIENTS, WELCOME_CRM_CLIENTS, WELCOME_EXTERNAL_CLIENTS, WELCOME_COUPON, EXPIRED_COUPON, TRANSIT_TICKET, UPDATE_TRANSIT, HOTEL_RESERVATION, UPDATE_HOTEL_RESERVATION, CINEMA_TICKET]
smsbooleanrequired
emailbooleanrequired
notificationbooleanrequired
]
pushInformativeEnabledbooleanrequired
pushCommercialEnabledbooleanrequired
consentLinkstring
Public, no-login consent-management page URL ('/consent/:token') the client uses to manage their own preferences. Absent if the client has no storecard pass.
CommunicationPreferencesResponseDto
{
"communicationPreferences": [
{
"notificationType": "NEW_LOYALTY",
"sms": true,
"email": true,
"notification": true
}
],
"pushInformativeEnabled": true,
"pushCommercialEnabled": true,
"consentLink": "string"
}