{
"body": {
"autoAccess": true,
"code": "IN-202410-001",
"relativeOrderCode": "PO-202410-001",
"relativeOrderType": "PURCHASE_ORDER",
"businessType": "PURCHASE_INBOUND",
"approveProcessCode": "APPROVE-PURCHASE-IN",
"warehouseCode": "WH-SH-ELECTRONIC",
"comments": "供应商批次202410 | 全检合格入库",
"department": "Purchasing Dept",
"enterprise": {
"type": "SUPPLIER",
"code": "SUP-IC-2024"
},
"customizeFields": {
"qcReportNo": "QC-202410-001",
"transportCondition": "15-25℃恒温"
},
"details": [
{
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"batchNumber": "BATCH-202410-01"
},
{
"itemCode": "PCB-5G-001",
"quantity": 5000,
"batchNumber": "BATCH-202410-02"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/requisition/in/create' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"autoAccess": true,
"code": "IN-202410-001",
"relativeOrderCode": "PO-202410-001",
"relativeOrderType": "PURCHASE_ORDER",
"businessType": "PURCHASE_INBOUND",
"approveProcessCode": "APPROVE-PURCHASE-IN",
"warehouseCode": "WH-SH-ELECTRONIC",
"comments": "供应商批次202410 | 全检合格入库",
"department": "Purchasing Dept",
"enterprise": {
"type": "SUPPLIER",
"code": "SUP-IC-2024"
},
"customizeFields": {
"qcReportNo": "QC-202410-001",
"transportCondition": "15-25℃恒温"
},
"details": [
{
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"batchNumber": "BATCH-202410-01"
},
{
"itemCode": "PCB-5G-001",
"quantity": 5000,
"batchNumber": "BATCH-202410-02"
}
]
}
}'
{
"code": 0,
"message": ""
}