Skip to content

User model

User is a model of fields related to the authenticated user and consists of the following fields:

  • addresses: { billing: UserAddress | null, shipping: UserAddress | null };
  • userId: number
  • email: string
  • firstName: string
  • lastName: string
  • additionalFields: AdditionalField[]
  • groups: string[]
  • isNewsletterSubscriber: boolean
  • isRegistered: string
  • notificationsStockIds: number[]
  • loyalty: UserLoyalty

UserAddress

Represents the extension to the Address model consisting of the following fields:

  • address: Address
  • id: number
  • addressName: string
  • isDefault: boolean
  • isShippingDefault: boolean

AdditionalField

Represents the AdditionalField model.

UserLoyalty

Represents the UserLoyalty model.