Description
Topic: Users
Fields
Raw content with user's bio
Example: "{}"
class: UserClass
Class of the user in context of a given shop
Example: "admin"
The date and time when the user was created, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Default shop identifier
Example: "sh_EQzGqWoY"
Display name of the user (customers will see it)
Example: "Jane S."
Email of the user
Example: "no+spam@mail.com"
Whether email was confirmed or not
Example: false
email_message: Message
Confirmation email for this user
Expandable
Permission bit: "messages.read"
Unique identifier for a user
Example: "us_EQzGqWoY"
Inferred locale of the user, free-form string in Accept-Language HTTP header format
Example: "fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5"
Whether user was invited or not (available only after initial POST request)
Example: false
language: InfoLanguage
Preferred language of the user
Expandable
The date and time when the user last logged in, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Name of the user
Example: "Jane Smith"
oauth_provider: OAuth2Provider
OAuth2 provider used for registering this account
Example: "github"
Whether user has password defined
Example: true
A set of permission bits in context of a given shop
profile_image: ProfileImage!
Which profile image should be used
Example: "auto"
Preferred color for auto profile image
Example: 5
roles: [Role]
A set of roles in context of a given shop
Expandable
Permission bit: "roles.read"
Whether user is suspended in context of a given shop
Example: false
Name of the time zone the user is in
Example: "(GMT-05:00) Eastern Time"
Valid auth token (available only after initial POST request)
The date and time when the user agreed to TOS, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Whether two factor auth is enabled or not
Example: true
Whether phone path is used for 2FA
Example: true
The date and time when the user was last updated, RFC 3339 format
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
user_file: UserFile
Used By
Mutations
Queries
Types
AuditLog, Note, Order, OrderHistory, ProductQuestionAnswer, ProductReviewAnswer, PurchaseOrderLogItem, ReturnHistory, Shop, Transfer, TransferLogItem, VariantInventoryLog
Preview (typescript)
Loading module