跳到主要内容

address

地址,例如订单的收货地址。

PropertiesTypeDescription
addressstring地址第一行。
address1string地址第二行。
citystring地址所在城市。
companystring地址所在公司。若未指定公司,则返回空字符串。
countrystring地址所在国家/地区。
country_codestring地址所在国家/地区,格式为 ISO 3166-1 (alpha 2)
emailstring地址的电子邮件。若未指定电子邮件,则返回空字符串。
first_namestring地址的名字。
idstring地址的 ID。
is_defaultboolean若该地址为默认地址,则返回 true
last_namestring地址的姓氏。
phonestring地址的电话号码。
phone_area_codestring地址的电话区号。
provincestring地址所在省/州。
province_codestring地址所在省/州,格式为 ISO 3166-2 (alpha 4)
zipstring地址的邮政编码。
{
"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
}