Alokai

UpdateCustomerParameters

Parameters to update customer.

interface UpdateCustomerParameters {
	accepts_product_review_abandoned_cart_emails?: boolean;
	authentication?: Authentication;
	company?: string;
	email?: string;
	first_name?: string;
	last_name?: string;
	phone?: string;
	validation: ValidateCredentialsParameter;
}

Properties

NameRequiredTypeDescription
accepts_product_review_abandoned_cart_emailsOptionalbooleanIt determines if the customer is signed up to receive product review or abandoned cart emails or recieve both emails.
authenticationOptionalAuthenticationAuthentication information.
companyOptionalstringThe company of the customer.
emailOptionalstringThe email of the customer. Must be unique.
first_nameOptionalstringThe first name of the customer.
last_nameOptionalstringThe last name of the customer.
phoneOptionalstringThe phone number of the customer.
validationRequiredValidateCredentialsParameterValidation object that holds customer credentials. The profile will update only if the credentials are valid

Referenced Types

On this page