Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "86e74332-bd83-49b2-8c98-780f0f8af3da"
}

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": "68bd7ec6-2929-4f0c-918c-33fae7e14d81",
      "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": "82684713-c87c-4c0f-a3f0-9b2f918e35eb",
        "IsVolumetric": true
      },
      "IsValidForStockItem": true
    },
    "BinrackDestination": {
    },
    "Batch": {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "ddf13af7-c95d-4bb4-8c15-18dd59350087",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2021-07-29T09:24:43.0752159+01:00",
      "SellBy": "2021-07-29T09:24:43.0752159+01:00",
      "Inventory": [
        {
          "BatchInventoryId": 0,
          "BatchId": 0,
          "StockLocationId": "00000000-0000-0000-0000-000000000000",
          "BinRack": "Available",
          "PrioritySequence": 0,
          "Quantity": 0,
          "StockValue": 0.0,
          "StartQuantity": 0,
          "PickedQuantity": 0,
          "BatchStatus": "Available",
          "IsDeleted": false,
          "WarehouseBinrackStandardType": null,
          "WarehouseBinrackTypeName": "Available",
          "InTransfer": null,
          "BinRackId": null,
          "WarehouseBinrackTypeId": null
        }
      ],
      "IsDeleted": true
    },
    "MoveId": 1,
    "BatchInventoryId": 2,
    "Quantity": 3,
    "UserId": "f5c50337-e273-4408-a2f2-5cf6c71e9af1",
    "UserName": "sample string 5",
    "BinrackIdFrom": 6,
    "BinrackIdDestination": 1,
    "TxType": "Open",
    "JobId": 1,
    "CreateDate": "2021-07-29T09:24:43.1692167+01:00",
    "BatchId": 8,
    "StockLocationId": "3270a625-12f8-4309-a600-9fd0b5689129",
    "TotId": 1
  }
}