{
"body": {
"code": "DN-20240730-001",
"deliveryTime": 1725086400000,
"records": [
{
"num": 1,
"saleOrderNum": 20240728001,
"orderCode": "SO-20240728-HW-001",
"itemCode": "SMARTPHONE-X1-PLUS",
"quantity": 4500,
"comment": "华为P70主板 | 批次:BATCH-MB-20240728 | 缺料SN:MB0728-4501~5000",
"warehouseCode": "WH-FINISHED",
"warehouseBinCode": "BIN-HOLD-03"
},
{
"num": 2,
"orderCode": "SO-20240728-HW-001",
"itemCode": "IC-CHIP-5NM",
"quantity": 5500,
"comment": "5nm工艺芯片 | 批次:BATCH-20240726-5NM",
"warehouseCode": "WH-CHIP",
"warehouseBinCode": "BIN-03-12"
},
{
"num": 3,
"orderCode": "SO-20240728-HW-001",
"itemCode": "IC-CHIP-5NM-ALT",
"quantity": 500,
"comment": "替代料批次:ALT-BATCH-0728-01 | ECN-0728-05批准"
}
],
"deliveryCompany": "DHL-顺丰联合运输",
"deliveryOrderNumber": "DHL-SF-0728JQ001",
"enableLineNo": true,
"comments": "分批发运方案 | 首批4500pcs空运+500pcs陆运 | 剩余500pcs预计8月5日发运(缺料报告MAT-0728-006)"
}
}
curl --location --request POST '/api/open/v3/salesOutOrder/update' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "DN-20240730-001",
"deliveryTime": 1725086400000,
"records": [
{
"num": 1,
"saleOrderNum": 20240728001,
"orderCode": "SO-20240728-HW-001",
"itemCode": "SMARTPHONE-X1-PLUS",
"quantity": 4500,
"comment": "华为P70主板 | 批次:BATCH-MB-20240728 | 缺料SN:MB0728-4501~5000",
"warehouseCode": "WH-FINISHED",
"warehouseBinCode": "BIN-HOLD-03"
},
{
"num": 2,
"orderCode": "SO-20240728-HW-001",
"itemCode": "IC-CHIP-5NM",
"quantity": 5500,
"comment": "5nm工艺芯片 | 批次:BATCH-20240726-5NM",
"warehouseCode": "WH-CHIP",
"warehouseBinCode": "BIN-03-12"
},
{
"num": 3,
"orderCode": "SO-20240728-HW-001",
"itemCode": "IC-CHIP-5NM-ALT",
"quantity": 500,
"comment": "替代料批次:ALT-BATCH-0728-01 | ECN-0728-05批准"
}
],
"deliveryCompany": "DHL-顺丰联合运输",
"deliveryOrderNumber": "DHL-SF-0728JQ001",
"enableLineNo": true,
"comments": "分批发运方案 | 首批4500pcs空运+500pcs陆运 | 剩余500pcs预计8月5日发运(缺料报告MAT-0728-006)"
}
}'
{
"code": 0,
"message": ""
}