Skip to main content

UserCreateInput

Input for creating a user

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

Fields

UserCreateInput.defaultBillingAddress ● AddressInput input

Default billing address.

UserCreateInput.defaultShippingAddress ● AddressInput input

Default shipping address.

UserCreateInput.firstName ● String scalar

Given name.

UserCreateInput.lastName ● String scalar

Family name.

UserCreateInput.email ● String scalar

Email address.

UserCreateInput.isActive ● Boolean scalar

User active status.

UserCreateInput.note ● String scalar

Note about the user.

UserCreateInput.redirectUrl ● String scalar

URL for redirection after activation.

UserCreateInput.companyName ● String scalar

Company name of the user.

UserCreateInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

UserCreateInput.isStaff ● Boolean deprecated scalar

DEPRECATED

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

Whether the user is a staff member.

UserCreateInput.passwordUrl ● String scalar

URL for password reset.

UserCreateInput.personalPhone ● String scalar

Personal phone number.

UserCreateInput.sendCustomerSetPasswordEmail ● Boolean scalar

Whether to send password setup email.

UserCreateInput.taxExemptCode ● String scalar

Tax exemption code.

UserCreateInput.vatIdentificationNumber ● String scalar

VAT identification number.

Member Of

customerCreate mutation

Was this page helpful?