HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Order DeliveryAddress

Data structure of delivery_address

FieldColumnDescriptionExample
country_codeStringCountry Code
國家代碼
TW
countryStringCountry
國家
台灣
cityStringCity
城市
台北市
stateStringStage or Region
州/省/地區
postcodeStringZIP code
郵政編號
105
address_1StringAddress 1
地址 1
光復北路11巷44號14樓
address_2StringAddress 1
地址 2
(這裡原則上會自動帶入地址所在行政區)
松山區
keyString
layer1String
layer2String
layer3String
logistic_codesArray[String]物流代碼["1200001", "1200024"]
recipient_nameStringRecipient Name
收件人姓名
SHOPLINE
recipient_phoneStringRecipient Phone
收件人電話號碼
0912123456
remarksStringRemark
備註

JSON Sample

{
  "delivery_address": {
    "country_code": "TW",
    "country": "台灣",
    "city": "台北市",
    "state": "",
    "postcode": "105",
    "address_1": "光復北路11巷44號14樓",
    "address_2": "松山區",
    "key": null,
    "layer1": null,
    "layer2": null,
    "layer3": null,
    "logistic_codes": ["1200001", "1200024"],
    "recipient_name": "SHOPLINE",
    "recipient_phone": "0912123456",
    "remarks":""
  }
}