Filling Lost and Missing Items
You need to open a warehouse session by invoking {/session/open} which will assign a unique sessionID.
Thereby, use the {/schedules} endpoint to obtain the recordID of the schedule/task.
Lastly, use the {/orders/schedules/{recordID}/session/{sessionID}/} endpoint to retrieve the warehouseschedulelinerecordID.
Once, you have received the details, and there is no more Warehouse operation pending, you must close the session by invoking (/session/close).
You can start the session only after you have fetched the schedule list.
On closing of warehouse session, system will sync all status changes to the Order.
POST
End Point: /warehouse/orders/schedules/{recordID}/session/{sessionID}/fill
Supporting Force Order Fill Configurations in the Order Fill API.
Sample response payload
{
"scandetails":
[
{
"referencenumber": 0,
"warehouseschedulelinerecordid": "string",
"assetorproductid": "string",
"qty": 0,
"containerid": "string",
"filloptions":
{
"autofill": true,
"autoreturn": true,
"onservicedue": "MarkQCNeedsService",
"movetocurrentsite": true,
"returnonotherorder": true,
"unfillonotherorder": true,
"returnlost": true,
"returnmissing": true
}
}
]
}