Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /CreateWarehouseMove

Allows 150 calls per minute

Response: GetWarehouseMoveResponse



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)

Parameters

NameTypeDescription
requestCreateWarehouseMoveRequest

Permissions

GlobalPermissions.Inventory.WarehouseManagement.StockMoveNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Stock/CreateWarehouseMove

Headers

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

Request Body

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": "25786da9-f917-4ca9-a015-5714e6d33f3b"
}

Response

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": "d4ae11f4-151b-47d1-a5ba-78e0feffc55b",
      "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": "e86a54bf-8fe6-41e2-abb9-d9b9b735804d",
        "IsVolumetric": true,
        "DefaultBatchStatus": "Unchanged"
      },
      "IsValidForStockItem": true
    },
    "BinrackDestination": {
    },
    "Batch": {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "f9f3ff24-a6c8-4912-ba30-692b10e643e1",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2022-03-09T13:04:12.0293142+00:00",
      "SellBy": "2022-03-09T13:04:12.0293142+00:00",
      "Inventory": [
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "18916f3f-d26d-43d5-be4d-72e56e574d3d",
          "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": "91aac1b2-9565-4cf5-95ac-2bcd809477e1",
    "UserName": "sample string 5",
    "BinrackIdFrom": 6,
    "BinrackIdDestination": 1,
    "TxType": "Open",
    "JobId": 1,
    "CreateDate": "2022-03-09T13:04:12.0382896+00:00",
    "BatchId": 8,
    "StockLocationId": "ffd969cd-d971-4bb2-9e8f-f531baee8f77",
    "TotId": 1
  }
}