Objects

UserType

No description

No description

type UserType {
  id: Int!
  email: String!
  address: AddressType
  gender: Gender
  customerType: CustomerType
  newsletter: Boolean
  personalId: String
  memberType: String!
  memberId: Int!
  balances: [UserBalanceType]
  balance: Decimal! @deprecated
  balanceFormatted: String @deprecated
  metaData: String
}

Fields

id ● Int! non-null scalar required

The unique identifier of the user.

email ● String! non-null scalar required

The email address of the user.

address ● AddressType object

The address of the user.

gender ● Gender enum

The gender of the user.

customerType ● CustomerType enum

The customer type of the user.

newsletter ● Boolean scalar

Indicates if the user is subscribed to the newsletter.

personalId ● String scalar

The personal identification number of the user.

memberType ● String! non-null scalar required

The type of membership the user has.

memberId ● Int! non-null scalar required

The membership identifier of the user.

balances ● [UserBalanceType] list object

User balance per currency

balance ● Decimal! deprecated non-null scalar required

Deprecated: Use Balances instead.

Account balance

balanceFormatted ● String deprecated scalar

Deprecated: Use Balances instead.

Account balance. Formatted as a currency string.

metaData ● String scalar

Free-text field that can contain any additional metadata related to the customer.

Returned By

getUser query ● updateUser mutation