Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

StorefrontUser

typeStorefrontUser

Fields

  1. fields
_id*ID!
name*String!
email?String
phoneNumber?String
avatar?
shippingAddress?
tenant*String!
status*CustomerStatus!
Value inACTIVEINACTIVESUSPENDED
lastLoginAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

emailVerifiedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Usages

Returned by
QUERYmeMUTATIONupdateProfile
Field of
AuthPayload.userCreateOrderResponse.customer
SDL
type StorefrontUser {  _id: ID!  name: String!  email: String  phoneNumber: String  avatar: ServerFileReference  shippingAddress: [ShippingAddress!]  tenant: String!  status: CustomerStatus!  lastLoginAt: DateTime  emailVerifiedAt: DateTime  createdAt: DateTime  updatedAt: DateTime}