Manish Kumar Gupta
02/01/2024, 12:46 PM{{REST_SERVICES}}/record/v1/salesOrder/1234/!transform/itemFulfillment
With the Body
{
"item": {
"items": [
{
"orderLine": 1,
"itemreceive": true,
"location": 6
},
{
"orderLine": 2,
"itemreceive": true
}
]
},
"shipStatus": {
"id": "C"
}
}
The first order line is the inventory item
The second order line is non-inventory resale item
If I make separate requests for both the line items i can create item fulfilment but if I combine them in one request like above I get this error
{
"type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Error while accessing a resource. Fulfillments can be shipped from only one location when using Multi-Location Inventory.",
"o:errorCode": "USER_ERROR"
}
]
}
Can somebody help me in getting this done in a single request?
Thanksalien4u
02/01/2024, 6:00 PM