{
"body": {
"code": "RMA-20240730-001",
"records": [
{
"warehouseCode": "WH-QLAB",
"locationCode": "BIN-INSP-05",
"itemCode": "SMARTPHONE-X1-PLUS",
"configurableSpecs": [
{
"name": "颜色",
"code": "COLOR-CONFIG",
"value": "曜石黑"
},
{
"name": "存储容量",
"code": "STORAGE-CONFIG",
"value": "512GB"
}
],
"quantity": 50,
"assistQuantity": 5,
"batchNumber": "BATCH-MB-20240728",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001"
},
{
"warehouseCode": "WH-CHIP-BACK",
"locationCode": "BIN-RESTOCK-03",
"itemCode": "IC-CHIP-5NM",
"quantity": 1,
"batchNumber": "BATCH-20240726-5NM",
"snInfos": [
{
"sn": "SN-MB0728-0456",
"assistQuantity": 1,
"defectCode": "PCB-DEF-0728-01"
}
],
"originOrderNumber": "SO-20240728-HW-001",
"extendedFields": [
{
"name": "MSL管控等级",
"value": "Level 3(72小时)"
}
]
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/salesReturn/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "RMA-20240730-001",
"records": [
{
"warehouseCode": "WH-QLAB",
"locationCode": "BIN-INSP-05",
"itemCode": "SMARTPHONE-X1-PLUS",
"configurableSpecs": [
{
"name": "颜色",
"code": "COLOR-CONFIG",
"value": "曜石黑"
},
{
"name": "存储容量",
"code": "STORAGE-CONFIG",
"value": "512GB"
}
],
"quantity": 50,
"assistQuantity": 5,
"batchNumber": "BATCH-MB-20240728",
"snInfos": [],
"originOrderNumber": "SO-20240728-HW-001"
},
{
"warehouseCode": "WH-CHIP-BACK",
"locationCode": "BIN-RESTOCK-03",
"itemCode": "IC-CHIP-5NM",
"quantity": 1,
"batchNumber": "BATCH-20240726-5NM",
"snInfos": [
{
"sn": "SN-MB0728-0456",
"assistQuantity": 1,
"defectCode": "PCB-DEF-0728-01"
}
],
"originOrderNumber": "SO-20240728-HW-001",
"extendedFields": [
{
"name": "MSL管控等级",
"value": "Level 3(72小时)"
}
]
}
]
}
}'
{
"code": 0,
"message": ""
}