Skip to main content

UserCreateInput

No description

input UserCreateInput {
defaultBillingAddress: AddressInput
defaultShippingAddress: AddressInput
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
companyName: String
personalPhone: String
passwordUrl: String
taxExemptCode: String
customFields: [AttributeValueInput!]
vatIdentificationNumber: String
sendCustomerSetPasswordEmail: Boolean
redirectUrl: String
isStaff: Boolean @deprecated
}

Fields

UserCreateInput.defaultBillingAddress ● AddressInput input

Billing address of the customer.

UserCreateInput.defaultShippingAddress ● AddressInput input

Shipping address of the customer.

UserCreateInput.firstName ● String scalar

Given name.

UserCreateInput.lastName ● String scalar

Family name.

UserCreateInput.email ● String scalar

The unique email address of the user.

UserCreateInput.isActive ● Boolean scalar

User account is active.

UserCreateInput.note ● String scalar

A note about the user.

UserCreateInput.companyName ● String scalar

Only filled out if the account is a business account.

UserCreateInput.personalPhone ● String scalar

Personal phone number.

UserCreateInput.passwordUrl ● String scalar

Password url

UserCreateInput.taxExemptCode ● String scalar

Tax exempt code

UserCreateInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

UserCreateInput.vatIdentificationNumber ● String scalar

Marketplace VAT identification number

UserCreateInput.sendCustomerSetPasswordEmail ● Boolean scalar

Indicates whether a 'set password' email should be sent to the customer.

UserCreateInput.redirectUrl ● String scalar

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

UserCreateInput.isStaff ● Boolean deprecated scalar

DEPRECATED

Customer creation always produces a customer user, will be removed on January 15, 2026

Upgrade customer to a staff member

Member Of

customerCreate mutation

Was this page helpful?