This API endpoint allows you to Exchange Items on the Prep Schedule.
You can exchange the items as per the following rules…
-
Serial items can only be exchanged with other serial items.
-
Non-serial items can only be exchanged with other non-serial items.
-
Serial kits can only be exchanged with other serial kits.
-
Non-serial kits can only be exchanged with other non-serial kits.
POST
End Point: \warehouse\orders\schedules\{recordid}\session\{sessionid}\exchange
Sample request payload
JSON
{
warehouseschedulelinerecordids:
[
{
"warehouseschedulelinerecordid": "string"
}
],
exchangewith:
[
{
"sku": "string",
"qty": 0,
"keeporiginaldescription": true
}
]
}
Sample response payload
{
"warehouseschedulelines":
[
{
"recordid": "string",
"orderid": "string",
"scheduledatetime": "MM/dd/yyyy HH:mm",
"linenumber": 0,
"levelnumber": 0,
"isformedheader": true,
"status": "Hold",
"action": "Rent",
"productid": "string",
"assetid": "string",
"description": "string",
"isserial": true,
"iskitheader": true,
"shelflocation": "string",
"binnumber": "string",
"orderedquantity": 0,
"filledquantity": 0,
"shippedquantity": 0,
"returnedquantity": 0,
"containerid": "string",
"contractlinerecordid": "string",
"notes": "string"
}
]
}