For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Overview
          • MUTaddUserToAccount
          • MUTremoveUserFromAccount
          • MUTcreateCheckout
          • MUTcancelSubscription
          • MUTcreateUserWithPassword
          • MUTcreateUser
          • MUTaddUserToStore
          • MUTremoveUserFromStore
          • MUTcreateEventSource
          • MUTdeleteEventSource
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAccountMutations

createUserWithPassword

Example Query
1mutation ExampleMutation($input: CreateUserWithPasswordInput) {
2 createUserWithPassword(input: $input) {
3 user {
4 id
5 email
6 firstName
7 lastName
8 locale
9 }
10 }
11}
Variables
1{
2 "input": {
3 "email": "example",
4 "firstName": "example",
5 "lastName": "example",
6 "locale": "example",
7 "password": "example",
8 "passwordConfirmation": "example"
9 }
10}
Example response
1{
2 "data": {
3 "createUserWithPassword": {
4 "user": {
5 "id": "example",
6 "email": "example",
7 "firstName": "example",
8 "lastName": "example",
9 "locale": "example"
10 }
11 }
12 }
13}
Creates a user with password.
Was this page helpful?
Previous

cancelSubscription

Next

createUser

Built with

Arguments

inputCreateUserWithPasswordInputRequired

Returns

an optional CreateUserWithPasswordResult
userUser
Created user.