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

# UserCreateInput Input Type

No description

```graphql
input UserCreateInput {
  defaultBillingAddress: AddressInput
  defaultShippingAddress: AddressInput
  firstName: String
  lastName: String
  email: String
  isActive: Boolean
  note: String
  metadata: [MetadataInput!]
  privateMetadata: [MetadataInput!]
  languageCode: LanguageCodeEnum
  externalReference: String
  isConfirmed: Boolean @deprecated
  customerType: ID
  attributes: [AttributeValueInput!]
  redirectUrl: String
  channel: String
}
```

<a id="fields"></a>

### Fields

<a id="default-billing-address"></a>

#### [`defaultBillingAddress`](#default-billing-address) ● [`AddressInput`](/api-reference/miscellaneous/inputs/address-input.md)

Billing address of the customer.

<a id="default-shipping-address"></a>

#### [`defaultShippingAddress`](#default-shipping-address) ● [`AddressInput`](/api-reference/miscellaneous/inputs/address-input.md)

Shipping address of the customer.

<a id="first-name"></a>

#### [`firstName`](#first-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Given name.

<a id="last-name"></a>

#### [`lastName`](#last-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Family name.

<a id="email"></a>

#### [`email`](#email) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The unique email address of the user.

<a id="is-active"></a>

#### [`isActive`](#is-active) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

User account is active.

<a id="note"></a>

#### [`note`](#note) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

A note about the user.

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

Fields required to update the user metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

<a id="private-metadata"></a>

#### [`privateMetadata`](#private-metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

Fields required to update the user private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

<a id="language-code"></a>

#### [`languageCode`](#language-code) ● [`LanguageCodeEnum`](/api-reference/miscellaneous/enums/language-code-enum.md)

User language code.

<a id="external-reference"></a>

#### [`externalReference`](#external-reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

External ID of the customer.

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

#### [`customerType`](#customer-type) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of the customer type to assign to the user. If not provided when creating a customer, the default customer type is assigned.

Added in Saleor 3.23

<a id="attributes"></a>

#### [`attributes`](#attributes) ● [`[AttributeValueInput!]`](/api-reference/attributes/inputs/attribute-value-input.md)

List of attribute values to assign to the user. The attributes must belong to the customer type the user ends up with.

Added in Saleor 3.23

<a id="redirect-url"></a>

#### [`redirectUrl`](#redirect-url) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

URL of a view where users should be redirected to set the password. URL in RFC 1808 format.

<a id="channel"></a>

#### [`channel`](#channel) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel which will be used for notify user. Optional when only one channel exists.

Show deprecatedHide deprecated

<a id="is-confirmed"></a>

#### [`isConfirmed`](#is-confirmed) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

DEPRECATED

The user will be always set as unconfirmed. The confirmation will take place when the user sets the password.

User account is confirmed.

<a id="member-of"></a>

### Member Of

[`customerCreate`](/api-reference/users/mutations/customer-create.md) mutation
