Hi,
It should definitely be possible to do so, we're not able to reproduce the issue on our end.
First, we deleted the allocations we had previously set:
Followed by PUT:
{
"shipmentDetailLines": [
{
"operation": "Update",
"lineNumber": {
"Value": 1
},
"allocations": [
{
"operation": "Insert",
"lineNbr": {
"Value": 2
},
"quantity": {
"Value": 1
},
"lotSerialNumber": {
"value": "234"
}
},
{
"operation": "Insert",
"lineNbr": {
"Value": 3
},
"quantity": {
"Value": 1
},
"lotSerialNumber": {
"value": "345"
}
}
]
}
]
}
Result:
The issue seems to be how you send the "lotserialnumber" field, you need to send it as such:
"lotSerialNumber": {"value": "234"}
You are missing the value object in your JSON.
Please try again after correcting this.
... View more