CustomerCreateInput

Specifies the fields required to create a new Customer.

Show definition
# Specifies the fields required to create a new Customer.
input CustomerCreateInput {
  # The customer’s first name.
  firstName: String

  # The customer’s last name.
  lastName: String

  # The customer’s email.
  email: String!

  # The customer’s phone number.
  phone: String

  # The login password used by the customer.
  password: String!

  # Indicates whether the customer has consented to be sent marketing material via email.
  acceptsMarketing: Boolean
}

Input Fields

acceptsMarketing   (Boolean)

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

email   (String!) Required

The customer’s email.

firstName   (String)

The customer’s first name.

lastName   (String)

The customer’s last name.

password   (String!) Required

The login password used by the customer.

phone   (String)

The customer’s phone number.