CreateAddressParameters
Format of parameters that can be passed to createCustomerAddress endpoint method.
interface CreateAddressParameters {
address_type?: string;
address1: string;
address2?: string;
city: string;
company: string;
country_code: string;
first_name: string;
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. |
first_name | Required | string | The first name of the customer address. |
last_name | Required | string | The last name of the customer address. |
phone | Optional | 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 spelled out in full. State or province codes not accepted. |