Skip to main content

IBaseUser

Interface for the BaseUser Type, where both Contacts and Customers derive from

interface IBaseUser {
userId: Int
debtorId: String
gender: Gender
firstName: String!
middleName: String
lastName: String!
phone: String
mobile: String
email: String!
login: String
iban: String
bankAccount: String
bic: String
notes: String
primaryLanguage: String
expires: DateTime
externalId: String
dateOfBirth: DateTime
mailingList: YesNo
isLoggedIn: Boolean
createdAt: DateTime
lastModifiedAt: DateTime
}

Fields

IBaseUser.userId ● Int scalar

The unique identifier of the user.

IBaseUser.debtorId ● String scalar

IBaseUser.gender ● Gender enum

The gender of the user.

IBaseUser.firstName ● String! non-null scalar

The first name of the user.

IBaseUser.middleName ● String scalar

The middle name of the user.

IBaseUser.lastName ● String! non-null scalar

The last name of the user.

IBaseUser.phone ● String scalar

The phone number of the user.

IBaseUser.mobile ● String scalar

The mobile number of the user.

IBaseUser.email ● String! non-null scalar

The email of the user.

IBaseUser.login ● String scalar

The login name (email) the account is linked to, generally the same as email address. When null a account has not been linked yet.

IBaseUser.iban ● String scalar

The International Bank Account Number of the user

IBaseUser.bankAccount ● String scalar

The Bank Account Number of the user

IBaseUser.bic ● String scalar

The Bank Identification Code of the user

IBaseUser.notes ● String scalar

IBaseUser.primaryLanguage ● String scalar

The primary language of the user

IBaseUser.expires ● DateTime scalar

The expiration date of the contact. After this date expires contact will be disabled.

IBaseUser.externalId ● String scalar

External ID

IBaseUser.dateOfBirth ● DateTime scalar

The date of birth of the contact.

IBaseUser.mailingList ● YesNo enum

IBaseUser.isLoggedIn ● Boolean scalar

IBaseUser.createdAt ● DateTime scalar

IBaseUser.lastModifiedAt ● DateTime scalar

Returned By

user query ● viewer query

Member Of

Cart object ● Company object ● ICart interface ● Orderlist object ● RegisterContactResponse object ● RegisterCustomerResponse object ● Tender object

Implemented By

Contact object ● Customer object ● User object