INPUT_OBJECT Magento 2.4.9
CustomerCreateInput
An input object for creating a customer.
Declared or extended by: Customer, LoginAsCustomer
Fields
prefix String
An honorific, such as Dr., Mr., or Mrs.
firstname String! Required
The customer's first name.
middlename String
The customer's middle name.
lastname String! Required
The customer's family name.
suffix String
A value such as Sr., Jr., or III.
email String! Required
The customer's email address.
dob String Deprecated
date_of_birth String
The customer's date of birth.
taxvat String
The customer's Tax/VAT number (for corporate customers).
gender Int
The customer's gender (Male - 1, Female - 2).
password String
The customer's password.
is_subscribed Boolean
Indicates whether the customer is subscribed to the company's newsletter.
custom_attributes [AttributeValueInput!]
The customer's custom attributes.
allow_remote_shopping_assistance Boolean
Indicates whether the customer has enabled remote shopping assistance.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.