{
"body": {
"code": "IN-UPDATE-202410-001",
"records": [
{
"itemCode": "IC-CHIP-5NM",
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "A-01-02",
"configurableSpecs": [
{
"name": "MSL等级",
"code": "MSL_LEVEL",
"value": "2A"
},
{
"name": "静电防护",
"code": "ESD_PROTECTION",
"value": "Class 1000"
}
],
"quantity": 2,
"assistQuantity": 2,
"batchNumber": "BATCH-202410-IC01",
"snInfos": [
{
"sn": "SN-5NM-202410-0003",
"assistQuantity": 1
},
{
"sn": "SN-5NM-202410-0004",
"assistQuantity": 1
}
],
"originOrderNumber": "PO-202410-005"
},
{
"itemCode": "CAP-10UF-25V",
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "B-02-05",
"configurableSpecs": [
{
"name": "耐压值",
"code": "VOLTAGE_RATING",
"value": "50V"
}
],
"quantity": 3000,
"assistQuantity": 30,
"batchNumber": "BATCH-202410-CAP02",
"originOrderNumber": "PO-202410-006"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/requisition/in/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "IN-UPDATE-202410-001",
"records": [
{
"itemCode": "IC-CHIP-5NM",
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "A-01-02",
"configurableSpecs": [
{
"name": "MSL等级",
"code": "MSL_LEVEL",
"value": "2A"
},
{
"name": "静电防护",
"code": "ESD_PROTECTION",
"value": "Class 1000"
}
],
"quantity": 2,
"assistQuantity": 2,
"batchNumber": "BATCH-202410-IC01",
"snInfos": [
{
"sn": "SN-5NM-202410-0003",
"assistQuantity": 1
},
{
"sn": "SN-5NM-202410-0004",
"assistQuantity": 1
}
],
"originOrderNumber": "PO-202410-005"
},
{
"itemCode": "CAP-10UF-25V",
"warehouseCode": "WH-SH-ELECTRONIC",
"locationCode": "B-02-05",
"configurableSpecs": [
{
"name": "耐压值",
"code": "VOLTAGE_RATING",
"value": "50V"
}
],
"quantity": 3000,
"assistQuantity": 30,
"batchNumber": "BATCH-202410-CAP02",
"originOrderNumber": "PO-202410-006"
}
]
}
}'
{
"code": 0,
"message": ""
}