DtoAddress

'The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method. It has the following properties:'

id
number

A unique identifier for the address.

Example:
7620158161121
customer_id
number

A unique identifier for the customer.

Example:
6087092306145
first_name
string

The first name of the person associated with the payment method.

Example:
pruebas envio
last_name
string

The last name of the person associated with the payment method.

Example:
Chile
company
string

The company of the person associated with the billing address.

Example:
null
address1
string

The street address of the billing address.

Example:
San Francisco 2511
address2
string

An optional additional field for the street address of the billing address.

Example:
Apartment 5
city
string

The city, town, or village of the billing address.

Example:
San Miguel
province
string

The name of the region (for example, province, state, or prefecture) of the billing address.

Example:
Santiago
country
string

The name of the country of the billing address.

Example:
Chile
zip
string

The postal code (for example, zip, postcode, or Eircode) of the billing address.

Example:
8320000
phone
string

The phone number at the billing address.

Example:
+(53)999888777
name
string

The full name of the person associated with the payment method.

Example:
pruebas envio Chile
latitude
number

The latitude of the billing address.

Example:
-33.4777172
longitude
number

The longitude of the billing address.

Example:
-70.6436693
country_code
string

The two-letter code (ISO 3166-1 format) for the country of the billing address.

Example:
CL
province_code
string

The two-letter abbreviation of the region of the billing address.

Example:
RM
country_name
string

The customer's normalized country name.

Example:
Chile
default
boolean

Returns true for each default address.

Example:
true
Example
1
{
2
"id": 7620158161121,
3
"customer_id": 6087092306145,
4
"first_name": "pruebas envio",
5
"last_name": "Chile",
6
"company": null,
7
"address1": "San Francisco 2511",
8
"address2": "Apartment 5",
9
"city": "San Miguel",
10
"province": "Santiago",
11
"country": "Chile",
12
"zip": "8320000",
13
"phone": "+(53)999888777",
14
"name": "pruebas envio Chile",
15
"latitude": -33.4777172,
16
"longitude": -70.6436693,
17
"country_code": "CL",
18
"province_code": "RM",
19
"country_name": "Chile",
20
"default": true
21
}