{
"body": {
"code": "OUT-UPDATE-202410-001",
"records": [
{
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "A-01-01",
"itemCode": "IC-CHIP-5NM",
"configurableSpecs": [
{
"name": "核心电压",
"code": "CORE_VOLTAGE",
"value": "1.2V"
},
{
"name": "封装类型",
"code": "PACKAGE_TYPE",
"value": "BGA256"
}
],
"quantity": 2,
"assistQuantity": 2,
"batchNumber": "BATCH-202410-01",
"snInfos": [
{
"sn": "SN-5NM-202410-0001",
"assistQuantity": 1
},
{
"sn": "SN-5NM-202410-0002",
"assistQuantity": 1
}
],
"originOrderNumber": "SO-202410-001"
},
{
"warehouseCode": "WH-SH-MECH",
"locationCode": "C-03-02",
"itemCode": "BEARING-625ZZ",
"configurableSpecs": [
{
"name": "精度等级",
"code": "PRECISION_LEVEL",
"value": "P4"
}
],
"quantity": 200,
"assistQuantity": 10,
"batchNumber": "BATCH-202410-BRG01",
"originOrderNumber": "SO-202410-002"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/requisition/out/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "OUT-UPDATE-202410-001",
"records": [
{
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "A-01-01",
"itemCode": "IC-CHIP-5NM",
"configurableSpecs": [
{
"name": "核心电压",
"code": "CORE_VOLTAGE",
"value": "1.2V"
},
{
"name": "封装类型",
"code": "PACKAGE_TYPE",
"value": "BGA256"
}
],
"quantity": 2,
"assistQuantity": 2,
"batchNumber": "BATCH-202410-01",
"snInfos": [
{
"sn": "SN-5NM-202410-0001",
"assistQuantity": 1
},
{
"sn": "SN-5NM-202410-0002",
"assistQuantity": 1
}
],
"originOrderNumber": "SO-202410-001"
},
{
"warehouseCode": "WH-SH-MECH",
"locationCode": "C-03-02",
"itemCode": "BEARING-625ZZ",
"configurableSpecs": [
{
"name": "精度等级",
"code": "PRECISION_LEVEL",
"value": "P4"
}
],
"quantity": 200,
"assistQuantity": 10,
"batchNumber": "BATCH-202410-BRG01",
"originOrderNumber": "SO-202410-002"
}
]
}
}'
{
"code": 0,
"message": ""
}