Description
Topic: Users
Fields
Raw content with user's bio
Example: "{}"
Valid when: bio_raw_content's length doesn't exceed 100000 characters
Display name of the user (customers will see it)
Example: "Jane S."
Valid when: display_name's length doesn't exceed 250 characters
Email of the user
Example: "no+spam@mail.com"
Valid when: email is not empty
Valid when: email's length doesn't exceed 250 characters
emails: [UserEmailCreate!]
Preferred language of the user
Name of the user
Example: "Jane Smith"
Valid when: name's length doesn't exceed 250 characters
OAuth2 authorization code provided by the provider
oauth_provider: OAuth2Provider
OAuth2 provider used for registering this account (deprecated, use oauth_providers instead)
The user's password
Example: "34hb5kj3h45k3"
prefer_twenty_four_hour: AutoBoolean
Whether to use 24h time format
Name of the time zone the user is in
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone's length doesn't exceed 50 characters
Timezone hint. When provided it overrides timezone field, but only if it's correct. If it's incorrect, the value is ignored.
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone_hint's length doesn't exceed 50 characters
It has to be set to true and signifies that you agree with Lana TOS
Example: true
JSON-encoded PublicKeyCredential
Session ID associated with webauthn login process
Used By
Mutations
Preview (typescript)
interface UserCreate {bio_raw_content?: stringdisplay_name?: stringemail?: stringemails?: UserEmailCreate[]language?: stringname?: stringoauth_code?: stringoauth_provider?: OAuth2Provider | nullpassword?: stringprefer_twenty_four_hour?: AutoBoolean | nulltimezone?: stringtimezone_hint?: stringtos_agree: booleanwebauthn_credential?: stringwebauthn_session_id?: string}