UpdateCommunicationPreferencesDto
communicationPreferences object[]
Array [
notificationTypestringobligatoire
Valeurs possibles : [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]
smsboolean
emailboolean
notificationboolean
]
pushInformativeEnabledboolean
pushCommercialEnabledboolean
UpdateCommunicationPreferencesDto
{
"communicationPreferences": [
{
"notificationType": "NEW_LOYALTY",
"sms": true,
"email": true,
"notification": true
}
],
"pushInformativeEnabled": true,
"pushCommercialEnabled": true
}