Alokai

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

NameRequiredTypeDescription
accepts_product_review_abandoned_cart_emailsRequiredbooleanIt determines if the customer is signed up to receive product review or abandoned cart emails or recieve both emails.
authenticationOptionalAuthenticationAuthentication information.
companyOptionalstringCustomer company.
custom_fieldsRequiredCustomerFormField[]Customer custom fields.
emailRequiredstringThe email of the customer. Must be unique.
first_nameRequiredstringThe first name of the customer.
last_nameRequiredstringThe last name of the customer.
passwordRequiredstringCustomer password.
phoneOptionalstringCustomer phone number.

Referenced Types

On this page