获取当前账号的地址簿信息
| HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2b/order/addressBook |
Example:
POST /api/supplier-service/v1/b2b/OrderSearch HTTP/1.1 Content-Type: application/json Accept: application/json Host: http://cfs-qa.etowertech.com/ X-WallTech-Date: Thu, 06 Aug 2020 06:44:25 GMT Authorization: WallTech testLvs2jdug2qIoRsJyuxs:F714XG5EBjslUUdx5xJrTCVb9Xs= |
样例:
{
"codeList": ["SN1","CN1"],
"nameList" : ["test","test"],
"phoneList" : ["111111","188888"],
"addressType" : 1
} |
字段名 | 必填性 | 类型 | 描述 |
codeList | O | List<String> | 地址簿编码数组 |
| nameList | O | List<String> | 用户名数组 |
| phoneList | O | List<String> | 手机号数组 |
| addressType | M | Integer | 地址簿类型:0-海外仓其他 1-集货仓 2-海外仓FBA |
{
"code": "0",
"data": [
{
"addressLine1": "大连路970号",
"addressLine2": "",
"addressLine3": "",
"addressType": 1,
"city": "市辖区",
"code": "TEST",
"companyName": "",
"contactEmail": "",
"contactName": "Sammy",
"contactPhone": "000000000",
"country": "CN",
"district": "杨浦区",
"postCode": "",
"remark": "",
"state": "上海市"
}
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
} |
| 字段名 | 类型 | 描述 |
|---|---|---|
| code | String | 地址簿编码 |
| companyName | String | 公司名称 |
| contactName | String | 联系人名称 |
| contactEmail | String | 联系人邮箱 |
| contactPhone | String | 联系人电话 |
| country | String | 国家 |
| state | String | 省/市 |
| city | String | 市 |
| district | String | 区 |
| postCode | String | 邮编 |
| addressLine1 | String | 地址1 |
| addressLine2 | String | 地址2 |
| addressLine3 | String | 地址3 |
| remark | String | 备注 |
| addressType | Integer | 0-海外仓其他 |