Skip to main content

User Preferences

Class name: UserPreferences

The user preferences model is used to store the preferences of a user in the system. It allows users to customize their experience by setting various options.

Appwrite has Preferences object which is essentially a key-value store that contains all the preferences of a user

For customers, the prefs are as follows:

PropertyTypeDescription
preferredLanguagestringThe preferred language of the user
preferredCurrencystringThe preferred currency of the user
countryOfResidencestringThe country of residence of the user
marketingOptInbooleanWhether the user wants to receive marketing emails
referralCodestringThe referral code of the user
referredBystringThe ID of the user who referred the user