/amzStaServer/openapi/inbound-shipment/shipmentDetailList{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/shipmentDetailList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/shipmentDetailList?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"sid\": 123456,\n \"shipmentConfirmationId\": \"FBA190XXXXXK\"\n}'",
"responseExample": {
"code": 0,
"message": "操作成功",
"errorDetails": [],
"requestId": "3b3d867e7d014971a580549f107c8c5a.1732773886069",
"responseTime": "2024-11-28T14:04:46.069",
"data": {
"inboundPlanId": "wf0a914e89-d126-4ed9-a093-2078289fed05",
"shipmentList": [
{
"alphaCode": "承运方式",
"amazonReferenceId": "关联号",
"endDate": "送达时段-结束时间",
"inboundRegion": "入库区域",
"itemCount": "商品总数",
"itemList": [
{
"asin": "asin",
"fnsku": "fnsku",
"msku": "msku",
"parentAsin": "父asin",
"productName": "品名",
"quantity": "申报量",
"sku": "sku",
"title": "标题",
"url": "图片url"
}
],
"pickUpId": "提货单号",
"sendAddress": {
"addressLine1": "街道地址1",
"addressLine2": "街道地址2",
"addressName": "地址名称",
"city": "城市",
"country": "国家名称",
"countryCode": "国家code",
"email": "邮箱",
"phoneNumber": "电话号码",
"postalCode": "邮政编码",
"stateOrProvinceCode": "省市区code"
},
"shipingTime": "发货日期",
"shipmentConfirmationId": "货件单号",
"shipmentName": "货件名称",
"shippingAddress": {
"addressLine1": "街道地址1",
"addressLine2": "街道地址2",
"addressName": "地址名称",
"city": "城市",
"country": "国家名称",
"countryCode": "国家code",
"email": "邮箱",
"phoneNumber": "电话号码",
"postalCode": "邮政编码",
"stateOrProvinceCode": "省市区code"
},
"shippingMode": "货件类型(GROUND_SMALL_PARCEL代表小包裹快递(SPD)、FREIGHT_LTL代表汽运零担(LTL))",
"shippingSolution": "承运人(USE_YOUR_OWN_CARRIER代表其他承运人、AMAZON_PARTNERED_CARRIER代表亚马逊合作承运人)",
"sid": "店铺ID",
"startDate": "送达时段-开始时间",
"status": "货件状态",
"trackingNumberList": [
{
"boxId": "箱号",
"trackingNumber": "追踪编号"
}
],
"warehouseId": "物流中心编码"
}
]
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 可选 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】;使用原方式查询时需同时传入 shipmentIds |
| 2 | shipmentIds | 货件id | array<any> | — | 可选 | 货件id;使用原方式查询时需同时传入 inboundPlanId |
| 3 | shipmentConfirmationId | 货件单号 | string | — | 可选 | 货件单号;传入该字段时,不需要传 inboundPlanId 和货件 ID |
| 4 | sid | 店铺ID | integer | — | 必填 | 店铺ID,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | requestId | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | data | object | — | 必填 | |
| 6.1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号 |
| 6.2 | shipmentList | shipmentList | array<object> | — | 必填 | |
| 6.2.1 | alphaCode | 承运方式 | string | — | 必填 | 承运方式 |
| 6.2.2 | amazonReferenceId | 关联号 | string | — | 必填 | 关联号 |
| 6.2.3 | endDate | 送达时段-结束时间 | string | — | 必填 | 送达时段-结束时间 格式:yyyy-MM-dd HH:mm:ss |
| 6.2.4 | inboundRegion | 入库区域 | string | — | 必填 | 入库区域 |
| 6.2.5 | itemCount | 商品总数 | integer | — | 必填 | 商品总数 |
| 6.2.6 | itemList | 商品信息 | array<object> | — | 必填 | 商品信息 |
| 6.2.6.1 | asin | asin | string | — | 必填 | asin |
| 6.2.6.2 | fnsku | fnsku | string | — | 必填 | fnsku |
| 6.2.6.3 | msku | msku | string | — | 必填 | msku |
| 6.2.6.4 | parentAsin | 父asin | string | — | 必填 | 父asin |
| 6.2.6.5 | productName | 品名 | string | — | 必填 | 品名 |
| 6.2.6.6 | quantity | 申报量 | integer | — | 必填 | 申报量 |
| 6.2.6.7 | sku | sku | string | — | 必填 | sku |
| 6.2.6.8 | title | 标题 | string | — | 必填 | 标题 |
| 6.2.6.9 | url | 图片url | string | — | 必填 | 图片url |
| 6.2.7 | pickUpId | 提货单号 | string | — | 必填 | 提货单号 |
| 6.2.8 | sendAddress | sendAddress | object | — | 必填 | |
| 6.2.8.1 | addressLine1 | 街道地址1 | string | — | 必填 | 街道地址1 |
| 6.2.8.2 | addressLine2 | 街道地址2 | string | — | 必填 | 街道地址2 |
| 6.2.8.3 | addressName | 地址名称 | string | — | 必填 | 地址名称 |
| 6.2.8.4 | city | 城市 | string | — | 必填 | 城市 |
| 6.2.8.5 | country | 国家名称 | string | — | 必填 | 国家名称 |
| 6.2.8.6 | countryCode | 国家code | string | — | 必填 | 国家code |
| 6.2.8.7 | 邮箱 | string | — | 必填 | 邮箱 | |
| 6.2.8.8 | phoneNumber | 电话号码 | string | — | 必填 | 电话号码 |
| 6.2.8.9 | postalCode | 邮政编码 | string | — | 必填 | 邮政编码 |
| 6.2.8.10 | stateOrProvinceCode | 省市区code | string | — | 必填 | 省市区code |
| 6.2.9 | shipingTime | 发货日期 | string | — | 必填 | 发货日期 格式:yyyy-MM-dd |
| 6.2.10 | shipmentConfirmationId | 货件单号 | string | — | 必填 | 货件单号 |
| 6.2.11 | shipmentName | 货件名称 | string | — | 必填 | 货件名称 |
| 6.2.12 | shippingAddress | shippingAddress | object | — | 必填 | |
| 6.2.12.1 | addressLine1 | 街道地址1 | string | — | 必填 | 街道地址1 |
| 6.2.12.2 | addressLine2 | 街道地址2 | string | — | 必填 | 街道地址2 |
| 6.2.12.3 | addressName | 地址名称 | string | — | 必填 | 地址名称 |
| 6.2.12.4 | city | 城市 | string | — | 必填 | 城市 |
| 6.2.12.5 | country | 国家名称 | string | — | 必填 | 国家名称 |
| 6.2.12.6 | countryCode | 国家code | string | — | 必填 | 国家code |
| 6.2.12.7 | 邮箱 | string | — | 必填 | 邮箱 | |
| 6.2.12.8 | phoneNumber | 电话号码 | string | — | 必填 | 电话号码 |
| 6.2.12.9 | postalCode | 邮政编码 | string | — | 必填 | 邮政编码 |
| 6.2.12.10 | stateOrProvinceCode | 省市区code | string | — | 必填 | 省市区code |
| 6.2.13 | shippingMode | shippingMode | string | — | 必填 | 货件类型(GROUND_SMALL_PARCEL代表小包裹快递(SPD)、FREIGHT_LTL代表汽运零担(LTL)) |
| 6.2.14 | shippingSolution | shippingSolution | string | — | 必填 | 承运人(USE_YOUR_OWN_CARRIER代表其他承运人、AMAZON_PARTNERED_CARRIER代表亚马逊合作承运人) |
| 6.2.15 | sid | 店铺ID | integer | — | 必填 | 店铺ID |
| 6.2.16 | startDate | 送达时段-开始时间 | string | — | 必填 | 送达时段-开始时间 |
| 6.2.17 | status | 货件状态 | string | — | 必填 | 货件状态 |
| 6.2.18 | trackingNumberList | 追踪编号 | array<object> | — | 必填 | 追踪编号 |
| 6.2.18.1 | boxId | 箱号 | string | — | 必填 | 箱号 |
| 6.2.18.2 | trackingNumber | 追踪编号 | string | — | 必填 | 追踪编号 |
| 6.2.19 | warehouseId | 物流中心编码 | string | — | 必填 | 物流中心编码 |
领星ERP的接口:查询货件详情(/amzStaServer/openapi/inbound-shipment/shipmentDetailList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。