Customer Create Input
The input fields for creating a new Customer account. Used by the mutation.
For legacy customer accounts only and requires an email address and password. Optionally accepts the customer's name, phone number, and email marketing consent.
The password is used for customer authentication. Ensure it's transmitted securely and never logged or stored in plain text.
The password is used for customer authentication. Ensure it's transmitted securely and never logged or stored in plain text.
Caution: The password is used for customer authentication. Ensure it's transmitted securely and never logged or stored in plain text.
Anchor to FieldsFields
- acceptsMarketing (Boolean)
- email (String!)
- firstName (String)
- lastName (String)
- password (String!)
- phone (String)
- Anchor to acceptsMarketingaccepts•Boolean
Marketing Indicates whether the customer has consented to be sent marketing material via email.
- Anchor to emailemail•String!non-null
The customer’s email.
- Anchor to firstNamefirst•String
Name The customer’s first name.
- Anchor to lastNamelast•String
Name The customer’s last name.
- Anchor to passwordpassword•String!non-null
The login password used by the customer.
- Anchor to phonephone•String
A unique phone number for the customer.
Formatted using E.164 standard. For example, +16135551111.