Storefront GraphQL APIReferenceObjects
User
type
UserFields
- fields
_id*ID!commits?name?StringphoneNumber?StringphoneVerifiedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
avatar?email?StringshippingAddress?authProviders?mustChangePassword?Booleanmemberships?systemRoles?[String!]accountStatus?UserAccountStatusValue in
ACTIVEINACTIVESUSPENDEDnotices?lastLoginAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Usages
- Field of
Coupon.grantedUsers
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}