Skip to main content
Skip table of contents

Exchange Items through Warehouse API

This API endpoint allows you to Exchange Items on the Order Warehouse Schedule.
You can exchange the items as per the following rules…

Existing Item Type

Can be ‘Exchanged With’

Serial Item

Non-Serial Item

Serial Kits

Non-Serial Kits

Serial Item

(tick)

(tick)

(tick)

(error)

Non Serial Item

(tick)

(tick)

(tick)

(error)

Serial Kit

(tick)

(tick)

(tick)

(error)

Non Serial Kit

Only ‘Child Items’ can be exchanged with peer ‘Child Items’ as per the above rules.

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

CODE
{
 "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"
                           }
                          ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.