Create a new warehouse move in state of In Transit or Open.
To create a new move you need the exact batch inventory id and bin rack id of the destination. However it is possible to create a move without knowing where it is going specifically,
in which case don't supply BinrackIdDestination (or send null)
Name | Type | Description |
---|---|---|
request | CreateWarehouseMoveRequest |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/CreateWarehouseMove
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={
"BatchInventoryId": 1,
"Quantity": 2,
"BinrackIdDestination": 1,
"JobId": 1,
"TotId": 1,
"TxType": "Open",
"UserId": "7d67fc61-80ff-4984-bc64-9e04a4a0a32c"
}
This is an example of the response JSON. Results will vary depending on your data.
{
"WarehouseMove": {
"BinrackFrom": {
"BinRackId": 1,
"BinRackTypeId": 2,
"BinRack": "sample string 3",
"GeoPosition": {
"X": 1.0,
"Y": 2.0,
"Z": 3.0
},
"Dimension": {
"Width": 1.0,
"Depth": 2.0,
"Height": 3.0
},
"RoutingSequence": 4,
"MaxCapacityVolumetric": 5.0,
"CurrentFullPercentage": 6.0,
"MaxQuantityCapacity": 7,
"CurrentQuantity": 8,
"CurrentVolumetric": 9.0,
"OptimalReplenishFullPercentage": 10.0,
"CriticalReplenishFullPercentage": 11.0,
"ItemRestriction": true,
"GroupRestriction": true,
"LocationId": "572f4ea5-83ad-4e81-a07f-407232da560b",
"TypeName": "sample string 15",
"StandardType": 16,
"IsVolumetric": true,
"AccessOrientation": "sample string 18",
"StorageGroups": [
"sample string 1"
],
"UniqueSkus": 19,
"ItemsInfo": {
"BinRackId": 1,
"NumberOfItems": 2,
"TotalQuantity": 3
},
"BinrackType": {
"BinRackTypeId": 1,
"Name": "sample string 2",
"StandardType": 3,
"LocationBound": "2136a43d-c7f9-41f0-95e9-38753e5ff5c8",
"IsVolumetric": true,
"DefaultBatchStatus": "Unchanged"
},
"IsValidForStockItem": true
},
"BinrackDestination": {
},
"Batch": {
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "787fd7af-7132-4c93-8132-9e895abad810",
"BatchNumber": "sample string 5",
"ExpiresOn": "2023-01-10T13:49:55.1510527+00:00",
"SellBy": "2023-01-10T13:49:55.1510527+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "4bfaf09a-f8cd-43d8-8892-a4430e16b1db",
"BinRack": "sample string 4",
"PrioritySequence": 5,
"Quantity": 6,
"StockValue": 7.0,
"StartQuantity": 8,
"PickedQuantity": 9,
"BatchStatus": "Available",
"IsDeleted": true,
"WarehouseBinrackStandardType": 1,
"WarehouseBinrackTypeName": "sample string 12",
"InTransfer": 1,
"BinRackId": 1,
"WarehouseBinrackTypeId": 1
}
],
"IsDeleted": true
},
"MoveId": 1,
"BatchInventoryId": 2,
"Quantity": 3,
"UserId": "67a18389-c5da-4876-8f3f-93d11fd1d4ff",
"UserName": "sample string 4",
"BinrackIdFrom": 5,
"BinrackIdDestination": 1,
"TxType": "Open",
"JobId": 1,
"CreateDate": "2023-01-10T13:49:55.1588859+00:00",
"BatchId": 7,
"StockLocationId": "a357aed7-bf6e-431a-abc4-0376d97120f2",
"TotId": 1
}
}