/erp/sc/routing/storage/shipment/updateInboundShipmentListMws{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/shipment/updateInboundShipmentListMws"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"shipment_sn": "SP230815002",
"remark": "备注内容",
"items": [
{
"id": "40985",
"num": "2"
}
],
"box_type": "MULTIPLE",
"box_list": [
{
"box_num": 1,
"cg_box_length": 2,
"cg_box_width": 3,
"cg_box_height": 2,
"cg_box_weight": 3.33,
"box_skus": [
{
"item_id": 60559,
"quantity_in_case": 1
}
],
"box_nos": [
"FBAxx01"
]
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "107DEE19-E3DD-E6C6-F63D-EB8FF2D92327",
"response_time": "2024-10-17 14:51:53",
"data": [],
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | shipment_sn | 发货单号 | string | — | 必填 | 发货单号 |
| 2 | remark | 备注 | string | — | 可选 | 备注 |
| 3 | items | 发货商品 | array<object> | — | 可选 | 发货商品 |
| 3.1 | id | 商品明细id | integer | — | 可选 | 商品明细id,查询发货单详情接口对应字段【data>>items>>id】 |
| 3.2 | num | 发货量 | string | — | 可选 | 发货量,发货量不允许大于计划发货量 |
| 4 | box_type | 装箱类型 | string | — | 可选 | 装箱类型:SINGLE-每箱只允许一款SKU,MULTIPLE-每箱允许多款SKU |
| 5 | box_list | 装箱数据 | array<object> | — | 可选 | 装箱数据 |
| 5.1 | box_num | 箱子数 | number | — | 必填 | 箱子数 |
| 5.2 | cg_box_length | 箱子长(CM) | number | — | 必填 | 箱子长(CM) |
| 5.3 | cg_box_width | 箱子宽(CM) | number | — | 必填 | 箱子宽(CM) |
| 5.4 | cg_box_height | 箱子高(CM) | number | — | 必填 | 箱子高(CM) |
| 5.5 | cg_box_weight | 箱子重(KG) | number | — | 必填 | 箱子重(KG) |
| 5.6 | box_skus | 箱子内包含的SKU信息 | array<object> | — | 必填 | 箱子内包含的SKU信息 |
| 5.6.1 | item_id | 发货单商品ID | number | — | 必填 | 发货单商品ID |
| 5.6.2 | quantity_in_case | 单箱数量 | number | — | 必填 | 单箱数量 |
| 5.7 | box_nos | 自定义箱号 | array<any> | — | 可选 | 自定义箱号 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | number | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 107DEE19-E3DD-E6C6-F63D-EB8FF2D92327 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2024-10-17 14:51:53 | 必填 | 响应时间 |
| 6 | data | 响应数据 | array<any> | — | 必填 | 响应数据 |
| 7 | total | 总数 | number | 0 | 必填 | 总数 |
领星ERP的接口:编辑发货单(/erp/sc/routing/storage/shipment/updateInboundShipmentListMws),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。