Skip to main content

User Object

Description

Represents a user account with personal information and preferences.

Declaration

type User {
_id: ID!
id: Float
firstName: String
lastName: String
name: String
email: String
telephone: String
taxNumber: String
organisation: String
addresses: [Address!]
isSubscribed: Boolean
preferences: UserPreferences
}

Fields

NameTypeDescription
_idID!Internal database identifier.
id ⚠️FloatNumeric identifier for the user. ⚠️ Deprecated: No longer supported
firstNameStringUser's first name.
lastNameStringUser's last name.
nameStringFull name of the user.
emailStringEmail address for the user account.
telephoneStringTelephone number.
taxNumberStringTax identification number.
organisationStringOrganization or company name.
addresses[Address!]Saved addresses for the user.
isSubscribedBooleanWhether the user is subscribed to marketing communications.
preferencesUserPreferencesUser account preferences and settings.