address
An address, such as an order shipping address.
Properties | Type | Description |
---|---|---|
address | string | The first line of the address. |
address1 | string | The second line of the address. |
city | string | The city of the address. |
company | string | The company of the address. If no company is specified, then an empty string is returned. |
country | string | The country of the address. |
country_code | string | The country of the address is in ISO 3166-1 (alpha 2) format. |
email | string | The email of the address. If no email is specified, then an empty string is returned. |
first_name | string | The first name of the address. |
id | string | The ID of the address. |
is_default | boolean | Returns true if the address is the default. |
last_name | string | The last name of the address. |
phone | string | The phone number of the address. |
phone_area_code | string | The phone area code of the address. |
province | string | The province of the address. |
province_code | string | The province of the address is in ISO 3166-2 (alpha 4) format. |
zip | string | The zip or postal code of the address. |
{
"id": "ed853cba-628a-42df-b5b0-672ff18e0db6",
"first_name": null,
"last_name": null,
"email": "[email protected]",
"country_code": "CA",
"country": "Canada",
"province_code": "CA-ON",
"province": "Ontario",
"area": null,
"city": "Ottawa",
"address": "150 Elgin Street",
"address1": "8th floor",
"zip": "K2P 1L4",
"company": "",
"phone": "416-123-1234",
"phone_area_code": "CA_647",
"is_default": true
}
Updated over 1 year ago