Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

User

typeUser

Fields

  1. fields
_id*ID!
commits?
name?String
phoneNumber?String
phoneVerifiedAt?DateTime

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

avatar?
email?String
shippingAddress?
authProviders?
mustChangePassword?Boolean
memberships?
systemRoles?[String!]
accountStatus?UserAccountStatus
Value inACTIVEINACTIVESUSPENDED
notices?
lastLoginAt?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

Field of
Coupon.grantedUsers
SDL
type User {  _id: ID!  commits: [ResourceCommitHistoryReference!]  name: String  phoneNumber: String  phoneVerifiedAt: DateTime  avatar: ServerFileReference  email: String  shippingAddress: [LocationReference!]  authProviders: [UserAuthProvider!]  mustChangePassword: Boolean  memberships: [UserTenant!]  systemRoles: [String!]  accountStatus: UserAccountStatus  notices: [UserNotice!]  lastLoginAt: DateTime  createdAt: DateTime  updatedAt: DateTime}