> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/mutations/customer-create

# customerCreate Mutation

Creates a new customer.

Requires the MANAGE\_USERS permission.

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.

```graphql
customerCreate(
  input: UserCreateInput!
): CustomerCreate
```

Details

```graphql
type CustomerCreate {
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
  user: User
}
```

<a id="arguments"></a>

### Arguments

<a id="input"></a>

#### [`input`](#input) ● [`UserCreateInput!`](/api-reference/users/inputs/user-create-input.md)

Fields required to create a customer.

<a id="type"></a>

### Type

<a id="customercreate"></a>

#### [`CustomerCreate`](/api-reference/users/objects/customer-create.md)

Creates a new customer.

Requires the MANAGE\_USERS permission.

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.
