INPUT_OBJECT Magento 2.4.9
CustomerInput
An input object that assigns or updates customer attributes.
Declared or extended by: Customer
Fields
prefix String
An honorific, such as Dr., Mr., or Mrs.
firstname String
The customer's first name.
middlename String
The customer's middle name.
lastname String
The customer's family name.
suffix String
A value such as Sr., Jr., or III.
email String
The customer's email address. Required when creating a customer.
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.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.