address
地址,例如订单的收货地址。
| Properties | Type | Description |
|---|---|---|
address | string | 地址第一行。 |
address1 | string | 地址第二行。 |
city | string | 地址所在城市。 |
company | string | 地址所在公司。若未指定公司,则返回空字符串。 |
country | string | 地址所在国家/地区。 |
country_code | string | 地址所在国家/地区,格式为 ISO 3166-1 (alpha 2)。 |
email | string | 地址的电子邮件。若未指定电子邮件,则返回空字符串。 |
first_name | string | 地址的名字。 |
id | string | 地址的 ID。 |
is_default | boolean | 若该地址为默认地址,则返回 true。 |
last_name | string | 地址的姓氏。 |
phone | string | 地址的电话号码。 |
phone_area_code | string | 地址的电话区号。 |
province | string | 地址所在省/州。 |
province_code | string | 地址所在省/州,格式为 ISO 3166-2 (alpha 4)。 |
zip | string | 地址的邮政编码。 |
{
"id": "ed853cba-628a-42df-b5b0-672ff18e0db6",
"first_name": null,
"last_name": null,
"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
}