{
"body": {
"code": "SOUT-20240730-001",
"records": [
{
"warehouseCode": "WH-FINISHED",
"locationCode": "BIN-OUT-02",
"itemCode": "SMARTPHONE-X1-PLUS",
"configurableSpecs": [
{
"name": "颜色",
"code": "COLOR-CONFIG",
"value": "曜石黑"
},
{
"name": "存储容量",
"code": "STORAGE-CONFIG",
"value": "512GB"
}
],
"quantity": 500,
"assistQuantity": 50, // 每箱10台
"batchNumber": "BATCH-MB-20240728",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001"
},
{
"warehouseCode": "WH-CHIP",
"locationCode": "BIN-05-08",
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"batchNumber": "BATCH-20240726-5NM",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001",
"extendedFields": [
{
"name": "MSL等级",
"value": "3 (72小时)"
}
]
},
{
"warehouseCode": "WH-QLAB",
"locationCode": "BIN-HOLD-03",
"itemCode": "SMARTPHONE-X1-PLUS",
"quantity": 1,
"batchNumber": "BATCH-MB-20240728",
"snInfos": [
{
"sn": "SN-MB0728-0501",
"qcDefectCode": "PCB-DEF-0728-01"
}
],
"originOrderNumber": "SO-20240728-HW-001"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/salesOut/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "SOUT-20240730-001",
"records": [
{
"warehouseCode": "WH-FINISHED",
"locationCode": "BIN-OUT-02",
"itemCode": "SMARTPHONE-X1-PLUS",
"configurableSpecs": [
{
"name": "颜色",
"code": "COLOR-CONFIG",
"value": "曜石黑"
},
{
"name": "存储容量",
"code": "STORAGE-CONFIG",
"value": "512GB"
}
],
"quantity": 500,
"assistQuantity": 50, // 每箱10台
"batchNumber": "BATCH-MB-20240728",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001"
},
{
"warehouseCode": "WH-CHIP",
"locationCode": "BIN-05-08",
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"batchNumber": "BATCH-20240726-5NM",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001",
"extendedFields": [
{
"name": "MSL等级",
"value": "3 (72小时)"
}
]
},
{
"warehouseCode": "WH-QLAB",
"locationCode": "BIN-HOLD-03",
"itemCode": "SMARTPHONE-X1-PLUS",
"quantity": 1,
"batchNumber": "BATCH-MB-20240728",
"snInfos": [
{
"sn": "SN-MB0728-0501",
"qcDefectCode": "PCB-DEF-0728-01"
}
],
"originOrderNumber": "SO-20240728-HW-001"
}
]
}
}'
{
"code": 0,
"message": ""
}