/amzStaServer/openapi/inbound-shipment/listShipmentBoxes{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/listShipmentBoxes"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/listShipmentBoxes?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": null,
"requestId": "4848b0c49fa64012a381c81bdf826d30.1733129764446",
"responseTime": "2024-12-02T16:56:04.446",
"data": {
"inboundPlanId": "wf99cc1a5d-b08d-4237-8419-bd63ce084f7d",
"shipmentList": [
{
"shipmentId": "sh58020432-5479-48f7-b730-5786820eed44",
"shipmentPackingList": [
{
"localBoxId": "1",
"packageId": null,
"boxId": null,
"total": 1,
"weight": 12.32,
"weightUnit": "KG",
"length": 12,
"width": 3,
"height": 4,
"lengthUnit": "CM",
"productList": [
{
"msku": "20240122-GM",
"fnsku": "X0047Z5K5Z",
"asin": "B0CM59V6Y8",
"parentAsin": "B0CPSY8HFP",
"productName": "饭饭饭",
"sku": "ggggasda",
"title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky-GM",
"url": "https://m.media-amazon.com/images/I/61-v2WaQOhL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
},
{
"localBoxId": "2",
"packageId": null,
"boxId": null,
"total": 1,
"weight": 5.33,
"weightUnit": "KG",
"length": 2,
"width": 13,
"height": 4,
"lengthUnit": "CM",
"productList": [
{
"msku": "CN0002",
"fnsku": "X00489S3FJ",
"asin": "B0D3F2W56C",
"parentAsin": "B0D3F2W56C",
"productName": "随便spu-3",
"sku": "asdkpasdk",
"title": "Notes,Creative Cartoon,Students,Can Post It,Can Tear Messages N Times Paste",
"url": "https://m.media-amazon.com/images/I/51YvC-1dvXL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
},
{
"localBoxId": "3",
"packageId": null,
"boxId": null,
"total": 1,
"weight": 5.33,
"weightUnit": "KG",
"length": 2,
"width": 13,
"height": 4,
"lengthUnit": "CM",
"productList": [
{
"msku": "CN0002",
"fnsku": "X00489S3FJ",
"asin": "B0D3F2W56C",
"parentAsin": "B0D3F2W56C",
"productName": "随便spu-3",
"sku": "asdkpasdk",
"title": "Notes,Creative Cartoon,Students,Can Post It,Can Tear Messages N Times Paste",
"url": "https://m.media-amazon.com/images/I/51YvC-1dvXL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
},
{
"localBoxId": "4",
"packageId": null,
"boxId": null,
"total": 2,
"weight": 7.55,
"weightUnit": "KG",
"length": 2.99,
"width": 3.22,
"height": 4.33,
"lengthUnit": "CM",
"productList": [
{
"msku": "STN0002",
"fnsku": "X00489S34P",
"asin": "B0D3F37ZPB",
"parentAsin": "B0D3F37ZPB",
"productName": "成本",
"sku": "117009ZZ",
"title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky",
"url": "https://m.media-amazon.com/images/I/61FW9bR5rKL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 2,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
}
],
"palletList": []
},
{
"shipmentId": "sh3c90571c-5655-44cc-a18f-3d7479623816",
"shipmentPackingList": [
{
"localBoxId": "1",
"packageId": null,
"boxId": null,
"total": 3,
"weight": 12.33,
"weightUnit": "KG",
"length": 12.22,
"width": 5.66,
"height": 7.55,
"lengthUnit": "CM",
"productList": [
{
"msku": "20240122-GM",
"fnsku": "X0047Z5K5Z",
"asin": "B0CM59V6Y8",
"parentAsin": "B0CPSY8HFP",
"productName": "饭饭饭",
"sku": "ggggasda",
"title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky-GM",
"url": "https://m.media-amazon.com/images/I/61-v2WaQOhL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
},
{
"msku": "CN0002",
"fnsku": "X00489S3FJ",
"asin": "B0D3F2W56C",
"parentAsin": "B0D3F2W56C",
"productName": "随便spu-3",
"sku": "asdkpasdk",
"title": "Notes,Creative Cartoon,Students,Can Post It,Can Tear Messages N Times Paste",
"url": "https://m.media-amazon.com/images/I/51YvC-1dvXL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
},
{
"msku": "STN0002",
"fnsku": "X00489S34P",
"asin": "B0D3F37ZPB",
"parentAsin": "B0D3F37ZPB",
"productName": "成本",
"sku": "117009ZZ",
"title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky",
"url": "https://m.media-amazon.com/images/I/61FW9bR5rKL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
},
{
"localBoxId": "2",
"packageId": null,
"boxId": null,
"total": 2,
"weight": 8.36,
"weightUnit": "KG",
"length": 4.22,
"width": 5.33,
"height": 1.22,
"lengthUnit": "CM",
"productList": [
{
"msku": "20240122-GM",
"fnsku": "X0047Z5K5Z",
"asin": "B0CM59V6Y8",
"parentAsin": "B0CPSY8HFP",
"productName": "饭饭饭",
"sku": "ggggasda",
"title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky-GM",
"url": "https://m.media-amazon.com/images/I/61-v2WaQOhL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
},
{
"msku": "CN0002",
"fnsku": "X00489S3FJ",
"asin": "B0D3F2W56C",
"parentAsin": "B0D3F2W56C",
"productName": "随便spu-3",
"sku": "asdkpasdk",
"title": "Notes,Creative Cartoon,Students,Can Post It,Can Tear Messages N Times Paste",
"url": "https://m.media-amazon.com/images/I/51YvC-1dvXL._SL75_.jpg",
"expiration": "2025-11-01",
"quantityInBox": 1,
"prepOwner": "SELLER",
"labelOwner": "SELLER"
}
]
}
],
"palletList": [
{
"weight": 13,
"weightUnit": "LB",
"length": 12,
"width": 9,
"height": 5,
"lengthUnit": "IN",
"quantity": 3,
"stackability": "STACKABLE"
}
]
}
]
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 可选 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】;使用原方式查询时需同时传入 shipmentIdList |
| 2 | shipmentIdList | 货件id | array<any> | — | 可选 | 货件id;使用原方式查询时需同时传入 inboundPlanId |
| 3 | shipmentConfirmationId | 货件单号 | string | — | 可选 | 货件单号;传入该字段时,不需要传 inboundPlanId 和货件 ID |
| 4 | sid | 亚马逊店铺sid | integer | — | 必填 | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【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 | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号 |
| 6.2 | shipmentList | 货件装箱信息 | array<object> | — | 必填 | 货件装箱信息 |
| 6.2.1 | palletList | 托帕明细 | array<object> | — | 必填 | 托帕明细 |
| 6.2.1.1 | height | 托帕高度 | number | — | 必填 | 托帕高度 |
| 6.2.1.2 | length | 托帕长度 | number | — | 必填 | 托帕长度 |
| 6.2.1.3 | lengthUnit | 长度单位(IN-英制 | string | — | 必填 | 长度单位(IN-英制,CM-公制) |
| 6.2.1.4 | quantity | 托帕数量 | integer | — | 必填 | 托帕数量 |
| 6.2.1.5 | stackability | 是是可堆叠 | string | — | 必填 | 是是可堆叠 |
| 6.2.1.6 | weight | 托帕重量 | number | — | 必填 | 托帕重量 |
| 6.2.1.7 | weightUnit | 重量单位(LB-磅 | string | — | 必填 | 重量单位(LB-磅,KG-千克) |
| 6.2.1.8 | width | 托帕宽度 | number | — | 必填 | 托帕宽度 |
| 6.2.2 | shipmentId | 货件id | string | — | 必填 | 货件id |
| 6.2.3 | shipmentPackingList | 装箱明细 | array<object> | — | 必填 | 装箱明细 |
| 6.2.3.1 | boxId | 箱子id | string | — | 必填 | 箱子id |
| 6.2.3.2 | height | 箱子高度 | number | — | 必填 | 箱子高度 |
| 6.2.3.3 | length | 箱子长度 | number | — | 必填 | 箱子长度 |
| 6.2.3.4 | lengthUnit | 长度单位 | string | — | 必填 | 长度单位:含IN、CM |
| 6.2.3.5 | packageId | 包裹id | string | — | 必填 | 包裹id |
| 6.2.3.6 | productList | 商品明细 | array<object> | — | 必填 | 商品明细 |
| 6.2.3.6.1 | asin | asin | string | — | 必填 | asin |
| 6.2.3.6.2 | expiration | 有效期 | string | — | 必填 | 有效期 |
| 6.2.3.6.3 | fnsku | fnsku | string | — | 必填 | fnsku |
| 6.2.3.6.4 | labelOwner | 标签类型(AMAZON | string | — | 必填 | 标签类型(AMAZON,SELLER,NONE) |
| 6.2.3.6.5 | msku | msku | string | — | 必填 | msku |
| 6.2.3.6.6 | parentAsin | 父asin | string | — | 必填 | 父asin |
| 6.2.3.6.7 | prepOwner | 预处理提供方(AMAZON | string | — | 必填 | 预处理提供方(AMAZON,SELLER,NONE) |
| 6.2.3.6.8 | productName | 品名 | string | — | 必填 | 品名 |
| 6.2.3.6.9 | quantityInBox | 单箱数量 | integer | — | 必填 | 单箱数量 |
| 6.2.3.6.10 | sku | sku | string | — | 必填 | sku |
| 6.2.3.6.11 | title | 标题 | string | — | 必填 | 标题 |
| 6.2.3.6.12 | url | 图片url | string | — | 必填 | 图片url |
| 6.2.3.7 | total | 商品总数量 | integer | — | 必填 | 商品总数量 |
| 6.2.3.8 | weight | 箱子重量 | number | — | 必填 | 箱子重量 |
| 6.2.3.9 | weightUnit | 重量单位 | string | — | 必填 | 重量单位:含LB、KG |
| 6.2.3.10 | width | 箱子宽度 | number | — | 必填 | 箱子宽度 |
| 6.2.3.11 | box_name | 箱名 | string | 先装箱再分仓时:P1-B1 <br>先分仓再装箱时:FBA18QJFDCWJ - B11 | 必填 | 箱名 先装箱再分仓时box_name格式为【Px-By】,表示包装x组第y箱; 先分仓再装箱时box_name格式为【货件单号-Bx】,表示货件第x箱 |
领星ERP的接口:查询货件装箱信息(/amzStaServer/openapi/inbound-shipment/listShipmentBoxes),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。