Alokai

User

Customer information.

interface User {
	accepts_product_review_abandoned_cart_emails?: boolean;
	address_count?: number;
	addresses?: UserAddress[];
	attribute_count?: number;
	authentication?: Authentication;
	channel_ids?: number[];
	company?: string;
	customer_group_id?: number;
	date_created?: string;
	date_modified?: string;
	email: string;
	first_name: string;
	form_fields?: CustomerIdFormField[];
	id?: number;
	last_name: string;
	notes?: string;
	phone?: string;
	registration_ip_address?: string;
	store_credit_amounts?: {
    amount: number;
  }[];
	tax_exempt_category?: string;
}

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.
address_countOptionalnumberTotal number of customer addresses.
addressesOptionalUserAddress[]Array of customer addresses. Limited to 10.
attribute_countOptionalnumberTotal number of customer attributes.
authenticationOptionalAuthenticationAuthentication information.
channel_idsOptionalnumber[]Array of channel ids the Customer has access to.
companyOptionalstringThe company of the customer.
customer_group_idOptionalnumberID of the group which this customer belongs to.
date_createdOptionalstringThe date of which the customer was created.
date_modifiedOptionalstringThe date on which the customer was modified.
emailRequiredstringThe email of the customer. Must be unique.
first_nameRequiredstringThe first name of the customer.
form_fieldsOptionalCustomerIdFormField[]Customer form fields.
idOptionalnumberThe unique numeric ID of the customer.
last_nameRequiredstringThe last name of the customer.
notesOptionalstringThe customer notes.
phoneOptionalstringThe phone number of the customer.
registration_ip_addressOptionalstringThe IP address from which this customer was registered.
store_credit_amountsOptional{ amount: number; }[]Store credit.
tax_exempt_categoryOptionalstringThe tax exempt category code for the customer.

Referenced Types

On this page