Models
Communication Preferences
The communication preferences model includes a user’s opt in or opt out status of various communication preference settings.
SFTP Exports
Sample communication_preferences.csv
Thanx Connex
Table name: communication_preferences
Fields Description
Column | Data Type | Description |
---|---|---|
merchant_id | string | The unique identifier of the merchant in Thanx. |
user_id | string | The unique identifier of the user in Thanx. |
enabled_email_reward_earned | boolean | User’s selection for email notifications for “When I get a new reward” field. |
enabled_email_reward_unused | boolean | User’s selection for email notifications for “When I have an unused reward” field. |
enabled_email_reward_offer | boolean | User’s selection for email notifications for “When I have a special offer” field. |
enabled_email_reward_progress | boolean | User’s selection for email notifications for “When I earn progress towards a reward” field. |
enabled_email_payment_receipt | boolean | User’s selection for email notifications for “Send me a receipt” field. Only applies to merchants using exclusive deals. |
enabled_email_marketing_general | boolean | User’s selection for email notifications for “General news and updates” field. Does not reflect the device-specific notifications setting (e.g. this field may still reflect “TRUE” if the user disabled the notifications from phone settings). |
enabled_notification_reward_earned | boolean | User’s selection for push notifications for “When I get a new reward” field. Does not reflect the device-specific notifications setting. |
enabled_notification_reward_unused | boolean | User’s selection for push notifications for “When I have an unused reward” field. Does not reflect the device-specific notifications setting. |
enabled_notification_reward_progress | boolean | User’s selection for push notifications for “When I earn progress towards a reward” field. Does not reflect the device-specific notifications setting. |
enabled_notification_feedback_available | boolean | User’s selection for push notifications for “To give feedback about purchases” field. Does not reflect the device-specific notifications setting. |
created_at | timestamp | The date and time the communication preference was created. This is in UTC. |
updated_at | timestamp | The date and time the communication preference was last updated by the user. This is in UTC. |