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
| Name | Required | Type | Description |
|---|---|---|---|
address_type | Optional | string | The address type. |
address1 | Required | string | The address 1 line. |
address2 | Optional | string | The address 2 line. |
city | Required | string | The city of the customer address. |
company | Required | string | The company of the customer address. |
country_code | Required | string | The country code of the customer address. |
country | Required | string | The country name of the customer address. |
customer_id | Required | number | The customer ID. |
first_name | Required | string | The first name of the customer address. |
form_fields | Optional | AdressIdFormField[] | Array of form fields. |
id | Required | number | The unique numeric ID of the address. |
last_name | Required | string | The last name of the customer address. |
phone | Required | string | The phone number of the customer address. |
postal_code | Required | string | The postal code of the customer address. |
state_or_province | Required | string | The state or province name. |