CreateCustomerParameters
Parameters to create customer.
interface CreateCustomerParameters {
accepts_product_review_abandoned_cart_emails: boolean;
authentication?: Authentication;
company?: string;
custom_fields: CustomerFormField[];
email: string;
first_name: string;
last_name: string;
password: string;
phone?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
accepts_product_review_abandoned_cart_emails | Required | boolean | It determines if the customer is signed up to receive product review or abandoned cart emails or recieve both emails. |
authentication | Optional | Authentication | Authentication information. |
company | Optional | string | Customer company. |
custom_fields | Required | CustomerFormField[] | Customer custom fields. |
email | Required | string | The email of the customer. Must be unique. |
first_name | Required | string | The first name of the customer. |
last_name | Required | string | The last name of the customer. |
password | Required | string | Customer password. |
phone | Optional | string | Customer phone number. |