Alokai

UserAddress

Customer address model.

interface UserAddress {
	address_type?: string;
	address1: string;
	address2?: string;
	city: string;
	company: string;
	country_code: string;
	country: string;
	customer_id: number;
	first_name: string;
	form_fields?: AdressIdFormField[];
	id: number;
	last_name: string;
	phone: string;
	postal_code: string;
	state_or_province: string;
}

Properties

NameRequiredTypeDescription
address_typeOptionalstringThe address type.
address1RequiredstringThe address 1 line.
address2OptionalstringThe address 2 line.
cityRequiredstringThe city of the customer address.
companyRequiredstringThe company of the customer address.
country_codeRequiredstringThe country code of the customer address.
countryRequiredstringThe country name of the customer address.
customer_idRequirednumberThe customer ID.
first_nameRequiredstringThe first name of the customer address.
form_fieldsOptionalAdressIdFormField[]Array of form fields.
idRequirednumberThe unique numeric ID of the address.
last_nameRequiredstringThe last name of the customer address.
phoneRequiredstringThe phone number of the customer address.
postal_codeRequiredstringThe postal code of the customer address.
state_or_provinceRequiredstringThe state or province name.

Referenced Types

On this page