Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

customerCreate Mutation

Creates a new customer.

Requires one of the following permissions:MANAGE_USERS

Triggers the following webhook events:

  • CUSTOMER_CREATED (async): A new customer account was created.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer’s metadata was updated.
  • NOTIFY_USER (async): A notification for setting the password.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.

Applied directives

@webhookEventsInfo(asyncEvents: [CUSTOMER_CREATED, CUSTOMER_METADATA_UPDATED, NOTIFY_USER, ACCOUNT_SET_PASSWORD_REQUESTED], syncEvents: [])
customerCreate(input: UserCreateInput!): CustomerCreate

Returns

CustomerCreate

Show return type
type CustomerCreate {
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
  user: User
}

Arguments

input

input · UserCreateInput!

Fields required to create a customer.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?