/erp/sc/routing/fba/shipment/shipFromAddressList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/fba/shipment/shipFromAddressList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/erp/sc/routing/fba/shipment/shipFromAddressList?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"sid\": [18],\n \"search_field\": \"sender_name\",\n \"search_value\": \"创智\",\n \"offset\": 0,\n \"length\": 20\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "85377076-5C98-ADDD-C004-329ACE6B7021",
"response_time": "2022-12-08 18:35:58",
"data": [
{
"id": 320,
"sid": 16,
"alias_name": "真个名字",
"country_code": "CN",
"country_name": "中国 内地",
"sender_name": "创智云城A7",
"province": "广东",
"city": "深圳",
"region": "",
"street_detail1": "留仙洞1111",
"street_detail2": "",
"zip_code": "00332233",
"phone": "12345667866",
"is_default": 0,
"seller_name": "8xxxxxED",
"seller_country_name": "美国"
},
{
"id": 319,
"sid": 16,
"alias_name": "别名1111",
"country_code": "CN",
"country_name": "中国 内地",
"sender_name": "创智云城A7",
"province": "广东",
"city": "深圳",
"region": "",
"street_detail1": "留仙洞1111",
"street_detail2": "",
"zip_code": "00332233",
"phone": "",
"is_default": 0,
"seller_name": "8xxxxxED",
"seller_country_name": "美国"
}
],
"total": 2
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | array<any> | — | 可选 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | search_field | 搜索字段 | string | — | 可选 | 搜索字段: alias_name 地址簿别名 sender_name 发货方名称 |
| 3 | search_value | 对应搜索字段模糊搜索值 | string | — | 可选 | 对应搜索字段模糊搜索值 |
| 4 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 5 | length | 分页长度 | integer | — | 可选 | 分页长度,默认20 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-10-18 22:39:55 | 必填 | 响应时间 |
| 6 | data | 地址簿列表 | array<object> | — | 必填 | 地址簿列表 |
| 6.1 | id | 发货地址唯一id | integer | 12 | 必填 | 发货地址唯一id |
| 6.2 | sid | 店铺id | integer | 18 | 必填 | 店铺id |
| 6.3 | alias_name | 地址别名 | string | 别名1111 | 必填 | 地址别名 |
| 6.4 | country_code | 国家code | string | AD | 必填 | 国家code |
| 6.5 | country_name | 发货国家/地区 | string | 安道尔 | 必填 | 发货国家/地区 |
| 6.6 | sender_name | 发货方名称 | string | xxxx | 必填 | 发货方名称 |
| 6.7 | province | 省/州/地区 | string | xxxx | 必填 | 省/州/地区,美国发货地址限制长度为2位 |
| 6.8 | city | 城市 | string | xxx | 必填 | 城市 |
| 6.9 | region | 区 | string | xxx | 必填 | 区 |
| 6.10 | street_detail1 | 街道地址1 | string | xxx | 必填 | 街道地址1 |
| 6.11 | street_detail2 | 街道地址2 | string | xxx | 必填 | 街道地址2 |
| 6.12 | zip_code | 邮编 | string | 417000 | 必填 | 邮编 |
| 6.13 | phone | phone | string | 133xxxx4987 | 必填 | |
| 6.14 | is_default | 是否默认地址 | integer | 1 | 必填 | 是否默认地址: 0 否 1 是 |
| 6.15 | seller_name | 店铺名 | string | xxxx-CA | 必填 | 店铺名 |
| 6.16 | seller_country_name | seller_country_name | string | 加拿大 | 必填 |
领星ERP的接口:地址簿 - 发货地址列表(/erp/sc/routing/fba/shipment/shipFromAddressList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。