Skip to main content
input_object

The input fields for creating a new Customer account. Used by the customerCreate 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.


Caution

The password is used for customer authentication. Ensure it's transmitted securely and never logged or stored in plain text.


•Boolean

Indicates whether the customer has consented to be sent marketing material via email.

•String!
non-null

The customer’s email.

•String

The customer’s first name.

•String

The customer’s last name.

•String!
non-null

The login password used by the customer.

•String

A unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111.


Was this section helpful?