Stock Moves
Endpoints that move stock between warehouse locations and pallets.
Move several stock records to one destination.
Moves each stock record in stockItemList to one location, one pallet, or Unallocated.
Identify each record with stockItemList[].id and the quantity to move with stockItemList[].measures.quantity. Set the shared destination in destination.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Move several stock records to one destination. › Request Body
Where the stock moves.
Send a location name, location barcode, or location id in references.barcode to move the stock to that location.
To move onto a pallet, set barcodeType to PALLET and send the pallet barcode or id. To put the stock on a new pallet at its current location, set barcodeType to PALLET and leave out the barcode. On a bulk move, a new pallet needs every record to be in the same location.
To move the stock to Unallocated, leave out the barcode.
Inbound order items to move, each with its own quantity.
An unknown id returns 422 at /stockItemList/{index}/id.
A failure while moving the stock returns 422 at /stockItemList with no index.
typeOptional on the request. Stored as MOVEMENT.
Send MOVEMENT.
A single move accepts any letter case.
A bulk move accepts only MOVEMENT.
Move several stock records to one destination. › Responses
Success
typeOptional on the request. Stored as MOVEMENT.
Send MOVEMENT.
A single move accepts any letter case.
A bulk move accepts only MOVEMENT.
Source inbound order items after the move, in request order.
Destination records, in request order.
The id is new when the move split the record.
The id matches stockItemList at the same index when the whole record moved.
One entry per moved record, in request order.
details[i].id is movedStockItemList[i].id.
Warehouse location after the move.
Omitted when the stock is Unallocated.
A bulk response does not add references.locationName.
Move one stock record to a destination.
Moves one stock record to a location, a pallet, or Unallocated.
Identify the stock with stockItem.id. Send the quantity to move in stockItem.measures.quantity. Set where it goes in destination.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Move one stock record to a destination. › Request Body
Where the stock moves.
Send a location name, location barcode, or location id in references.barcode to move the stock to that location.
To move onto a pallet, set barcodeType to PALLET and send the pallet barcode or id. To put the stock on a new pallet at its current location, set barcodeType to PALLET and leave out the barcode. On a bulk move, a new pallet needs every record to be in the same location.
To move the stock to Unallocated, leave out the barcode.
Inbound order item to move.
typeOptional on the request. Stored as MOVEMENT.
Send MOVEMENT.
A single move accepts any letter case.
A bulk move accepts only MOVEMENT.
Move one stock record to a destination. › Responses
Success
typeOptional on the request. Stored as MOVEMENT.
Send MOVEMENT.
A single move accepts any letter case.
A bulk move accepts only MOVEMENT.
Source inbound order item after the move. After a split, this id is the id from the request and the quantity is the remainder.
Destination record.
New id when the move split the record.
Same id as stockItem when the whole record moved.
details.id matches this id.
What changed on the destination stock record.
id is that record's UUID.
On a single move it matches movedStockItem.id.
On a bulk move, details[i].id matches movedStockItemList[i].id.
Warehouse location after the move.
Omitted when the stock is Unallocated.
references.locationName is the location name, and only the single-move response sets it.