/amzStaServer/openapi/inbound-packing/getInboundPackingBoxInfo{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-packing/getInboundPackingBoxInfo"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-packing/getInboundPackingBoxInfo?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"inboundPlanId\": \"wf0a914e89-d126-4ed9-a093-2078289fed05\",\n \"sid\": 1\n}'",
"responseExample": "{\n{\n \"code\": 0,\n \"message\": \"操作成功\",\n \"errorDetails\": null,\n \"requestId\": \"f91edad8ebb242c29312ce9d6968adc4.206.17399569715810141\",\n \"responseTime\": \"2025-02-19T17:23:06.164\",\n \"data\": {\n \"inboundPlanId\": \"wf1c7907e3-ccfe-4fd6-a8b9-6ff8f786e133\",\n \"placementOptionList\": [\n {\n \"placementOptionId\": \"pl05ef4dbd-ca5f-4108-8a58-354fd5fab88a\",\n \"placementStatus\": \"OFFERED\",\n \"shipmentInformationList\": [\n {\n \"shipmentId\": \"sh65e73e2e-855e-4490-96ed-b975a0247727\",\n \"weight\": \"10.00\",\n \"volume\": \"0.00\",\n \"weightUnit\": \"KG\",\n \"volumeUnit\": \"M³\",\n \"shipmentPackingList\": [\n {\n \"boxName\": \"Box1\",\n \"height\": 10,\n \"length\": 20,\n \"width\": 15,\n \"lengthUnit\": \"CM\",\n \"weight\": 10,\n \"weightUnit\": \"KG\",\n \"total\": 5,\n \"productList\": [\n {\n \"asin\": \"B07X61XK8J\",\n \"fnsku\": \"X000123456\",\n \"msku\": \"SKU-123\",\n \"parentAsin\": \"B07X61XK8J\",\n \"productName\": \"Sample Product\",\n \"quantityInBox\": 5,\n \"sku\": \"SKU-123\",\n \"title\": \"Sample Product Title\",\n \"url\": \"https://example.com/image.jpg\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n \"placementOptionId\": \"pl13c5f6a9-5348-4b79-a3b2-7da84828f68d\",\n \"placementStatus\": \"OFFERED\",\n \"shipmentInformationList\": [\n {\n \"shipmentId\": \"shb8a42357-9267-4923-a522-b3c82d42656e\",\n \"weight\": \"10.00\",\n \"volume\": \"0.00\",\n \"weightUnit\": \"KG\",\n \"volumeUnit\": \"M³\",\n \"shipmentPackingList\": [\n {\n \"boxName\": \"Box2\",\n \"height\": 12,\n \"length\": 18,\n \"width\": 16,\n \"lengthUnit\": \"CM\",\n \"weight\": 10,\n \"weightUnit\": \"KG\",\n \"total\": 3,\n \"productList\": [\n {\n \"asin\": \"B07X61XK8J\",\n \"fnsku\": \"X000123456\",\n \"msku\": \"SKU-123\",\n \"parentAsin\": \"B07X61XK8J\",\n \"productName\": \"Sample Product\",\n \"quantityInBox\": 3,\n \"sku\": \"SKU-123\",\n \"title\": \"Sample Product Title\",\n \"url\": \"https://example.com/image.jpg\"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}"
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 可选 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | sid | 亚马逊店铺sid | integer | — | 可选 | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | — | 必填 | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | requestId | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | responseTime | 响应时间 | string | — | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号 |
| 6.2 | placementOptionList | 货件方案id | array<object> | — | 必填 | 货件方案id |
| 6.2.1 | placementOptionId | 货件方案id | string | — | 必填 | 货件方案id |
| 6.2.2 | placementStatus | 状态 | string | — | 必填 | 状态:含OFFERED、ACCEPTED、EXPIRED |
| 6.2.3 | shipmentInformationList | 货件信息 | array<object> | — | 必填 | 货件信息 |
| 6.2.3.1 | shipmentId | 货件id | string | — | 必填 | 货件id |
| 6.2.3.2 | volume | 箱子总体积(先装箱再分仓时 | string | — | 可选 | 箱子总体积(先装箱再分仓时,返回箱子总重量;先分仓再装箱时,不返回箱子总重量) |
| 6.2.3.3 | volumeUnit | 长度单位(IN-英制 | string | — | 可选 | 长度单位(IN-英制,CM-公制) |
| 6.2.3.4 | weight | 箱子总重量(先装箱再分仓时 | string | — | 可选 | 箱子总重量(先装箱再分仓时,返回箱子总重量;先分仓再装箱时,不返回箱子总重量) |
| 6.2.3.5 | weightUnit | 重量单位(LB-磅 | string | — | 可选 | 重量单位(LB-磅,KG-千克) |
| 6.2.3.6 | shipmentPackingList | 装箱明细 | array<object> | — | 必填 | 装箱明细 |
| 6.2.3.6.1 | boxName | 箱子名称 | string | — | 必填 | 箱子名称 |
| 6.2.3.6.2 | height | 箱子高度 | number | — | 必填 | 箱子高度 |
| 6.2.3.6.3 | length | 箱子长度 | number | — | 必填 | 箱子长度 |
| 6.2.3.6.4 | lengthUnit | 长度单位 | string | — | 必填 | 长度单位:含IN、CM |
| 6.2.3.6.5 | weight | 箱子重量 | number | — | 必填 | 箱子重量 |
| 6.2.3.6.6 | weightUnit | 重量单位 | string | — | 必填 | 重量单位:含LB、KG |
| 6.2.3.6.7 | width | 箱子宽度 | number | — | 必填 | 箱子宽度 |
| 6.2.3.6.8 | total | 商品总数量 | integer | — | 必填 | 商品总数量 |
| 6.2.3.6.9 | productList | 商品明细 | array<object> | — | 必填 | 商品明细 |
| 6.2.3.6.9.1 | asin | asin | string | — | 必填 | asin |
| 6.2.3.6.9.2 | fnsku | fnsku | string | — | 必填 | fnsku |
| 6.2.3.6.9.3 | msku | msku | string | — | 必填 | msku |
| 6.2.3.6.9.4 | parentAsin | 父asin | string | — | 必填 | 父asin |
| 6.2.3.6.9.5 | productName | 品名 | string | — | 必填 | 品名 |
| 6.2.3.6.9.6 | quantityInBox | 单箱数量 | integer | — | 必填 | 单箱数量 |
| 6.2.3.6.9.7 | sku | sku | string | — | 必填 | sku |
| 6.2.3.6.9.8 | title | 标题 | string | — | 必填 | 标题 |
| 6.2.3.6.9.9 | url | 图片url | string | — | 必填 | 图片url |
领星ERP的接口:查询货件方案的装箱信息(/amzStaServer/openapi/inbound-packing/getInboundPackingBoxInfo),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。