CustomerCreateInput
input
The input fields for creating a customer.
Fields
The customer's last name.
Maximum length: 128
Maximum length: 128
The customer's first name.
Maximum length: 128
Maximum length: 128
The customer's password.
Maximum length: 18
Maximum length: 18
The customer's phone number.
Maximum length: 20
Maximum length: 20
Whether the customer accepts subscribing to marketing information via email.
true: Acceptsfalse: Does not accept
The customer's email address.
Maximum length: 50
Maximum length: 50
The identifier for the source of the customer creation request. Valid values are:
7: Storefront API22: ITS App24: Shopper App
If this field is omitted or set to
null, the default value 7 is used.The verification token.
The customer's date of birth. Format:
Example:
yyyyMMdd.Example:
19931231The customer's gender. Valid values are:
male: Malefemale: Femaleprefer not to say: Secret
Default value:
prefer not to sayThe identifier for the submission channel of the customer creation request, used in conjunction with
source to precisely identify the customer device and operating environment. Valid values are:ShopperApp_IOS: Shopper App on iOSShopperApp_Android: Shopper App on AndroidEC_Web: PC web browsersEC_H5: Mobile HTML5 web pages
The logic for handling pre-registered accounts. Valid values are:
send_invite_email: Keep the account unactivated and send an activation email to the customer.suppress_invite_email: Keep the account unactivated and do not send any activation email to the customer.
Default value:
send_invite_emailA list of custom customer attributes (formatted as key-value pairs), used to collect additional business information during registration, such as invitation codes and custom form fields.
Maximum size: 10
Map
Argument from
CustomerCreateInput
Was this article helpful to you?