GitHub

ShopifyCustomerCreateInput

interface

import { ShopifyCustomerCreateInput } from '@daffodil/driver/shopify'

The input fields to create a new customer.

interface ShopifyCustomerCreateInput {
  acceptsMarketing: boolean
  email: string
  firstName: string
  lastName: string
  password: string
  phone: string
}

Properties

acceptsMarketing
boolean

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

email
string

The customer’s email.

firstName
string

The customer’s first name.

lastName
string

The customer’s last name.

password
string

The login password used by the customer.

phone
string

A unique phone number for the customer.

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