Back

Search

Search

Methods

Inventory

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": "5d6050e5-4b58-4ad6-9d2d-f56ce53d2051"
}

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": "b2dd4f18-9715-4e72-909a-7f93eb5599c3",
      "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": "85a2580d-60ac-4a57-9932-b34169f18e28",
        "IsVolumetric": true
      },
      "IsValidForStockItem": true
    },
    "BinrackDestination": {
    },
    "Batch": {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "ce1c2e5b-9393-4726-8ea6-4a3af6b8bf54",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2021-05-05T15:35:24.3169449+01:00",
      "SellBy": "2021-05-05T15:35:24.3169449+01:00",
      "Inventory": [
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "1ff745f6-6249-4aa0-ae7b-80e4b3ac2ec3",
          "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": "de06b28a-5731-4bf1-862e-6c9ee825822b",
    "UserName": "sample string 5",
    "BinrackIdFrom": 6,
    "BinrackIdDestination": 1,
    "TxType": "Open",
    "JobId": 1,
    "CreateDate": "2021-05-05T15:35:24.326918+01:00",
    "BatchId": 8,
    "StockLocationId": "6b0a2665-0eea-4522-adf4-c8058c540582",
    "TotId": 1
  }
}