Hi, Creating allocations with expirationDate when updating a Shipment does not seem to work. Endpoint: PUT to /controller/api/v1/shipment/{shipmentNbr} Lot/Serial Class: Request: {
"shipmentDetailLines": [
{
"lineNumber": {
"value": "1"
},
"shippedQty": {
"value": 2.0
},
"operation": "Update",
"allocations": [
{
"lineNbr": {
"value": 0
},
"uom": {
"value": "STK"
},
"quantity": {
"value": 1.0
},
"operation": "Insert",
"lotSerialNumber": {
"value": "34645"
},
"expirationDate": {
"value": "2023-03-23T00:00:00"
}
},
{
"lineNbr": {
"value": 0
},
"uom": {
"value": "STK"
},
"quantity": {
"value": 1.0
},
"operation": "Insert",
"lotSerialNumber": {
"value": "64354"
},
"expirationDate": {
"value": "2023-03-23T00:00:00"
}
}
]
}
]
} The update is completed, but the expirationDate field is not set. Since the Lot/Serial class requires expirationDate, confirming the shipment fails with the following error: "Error confirming shipment: Error: Updating 'Shipment line split' record raised at least one error. Please review the errors."
... View more