Back

Search

Search

Methods

Inventory

Orders

Picking /GeneratePickingWave

Rate Limit: 150/min

Response: GeneratePickingWaveResponse



Generate a new pickwave

Parameters

NameTypeDescription
requestPickingWaveGenerate

HTTP Endpoint

Server /Picking / GeneratePickingWave

Permissions

linnworks.core.permissions.Permissions.GlobalPermissions.OrderBook.OpenOrders.PickingWaves.GeneratePickingWavesNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Picking/GeneratePickingWave HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

request={
  "LocationId": "8ec59450-b8c8-45e4-a45e-9d7ad2bb3fb6",
  "UserId": 1,
  "Orders": [
    {
      "OrderId": 1
    },
    {
      "OrderId": 1
    }
  ],
  "Pickwaves": [
    {
      "Orders": [
        {
          "Items": [
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        },
        {
          "Items": [
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        }
      ],
      "GroupType": "Items"
    },
    {
      "Orders": [
        {
          "Items": [
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        },
        {
          "Items": [
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "d4738417-ee33-48ee-b720-f3a3e6fc79a3",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        }
      ],
      "GroupType": "Items"
    }
  ],
  "GroupType": "Items"
}

Response

This is an example response. Results may vary depending on your data.

{
  "ValidationResults": [
    {
      "OrderId": 1,
      "OrderId_Guid": "31486137-c316-4c25-b605-48f3a9c91a95",
      "Errors": [
        {
          "Error": "sample string 1",
          "ErrorType": "Unknown",
          "OrderItemRowId": "3bbbfedd-ebf3-4262-abc4-18b72cfb440f"
        },
        {
        }
      ],
      "HasErrors": true,
      "OrderDetails": [
        {
          "LocationId": "d890ed9a-101f-49e6-ab68-d92470dc9889",
          "OrderItemRowId": "e490c29f-9ff8-45b9-b2ac-d48c3ccdca2d",
          "BatchInventoryId": 1,
          "StockItemId": "5a1b2232-28a7-482d-ba01-3d9c330c8bd8",
          "SKU": "sample string 4",
          "ItemTitle": "sample string 5",
          "Binrack": "sample string 6",
          "BatchNumber": "sample string 7",
          "Quantity": 8,
          "RoutingSequence": 9
        },
        {
        }
      ]
    },
    {
    }
  ],
  "PickingWaves": [
    {
      "LocationId": "cee593c7-af53-4528-82d1-01719658cdd1",
      "UserId": 1,
      "EmailAddress": "sample string 2",
      "CreatedDate": "2021-02-21T11:27:22.8021238+00:00",
      "OrderCount": 4,
      "ItemCount": 5,
      "ItemsPicked": 6,
      "OrdersPicked": 7,
      "AccumulatedInProgressSeconds": 8,
      "StartTime": "2021-02-21T11:27:22.8021238+00:00",
      "EndTime": "2021-02-21T11:27:22.8021238+00:00",
      "GroupType": "Items",
      "Orders": [
        {
          "PickingWaveOrdersRowId": 1,
          "PickingWaveId": 2,
          "OrderId": 3,
          "PickState": "Unpicked",
          "SortOrder": 4,
          "ItemCount": 5,
          "PickedItemsCount": 6,
          "Items": [
            {
              "SortOrder": 1,
              "ToPickQuantity": 2,
              "TOTId": 1,
              "TrayTag": "sample string 3",
              "PickingTag": "sample string 4",
              "PickingWaveItemsRowId": 5,
              "PickingWaveId": 6,
              "PickedQuantity": 7,
              "ItemState": "Normal",
              "Totes": [
                {
                  "RowId": 1,
                  "PickingWaveItemsRowId": 2,
                  "ToteId": 1,
                  "TrayTag": "sample string 3",
                  "PickedQuantity": 4
                },
                {
                }
              ],
              "BatchInventoryId": 1,
              "OrderId": 8,
              "OrderItemRowId": "48b499b6-0e45-413f-b1a7-407a8d6ead82",
              "StockItemId": "e98517a0-00bd-4c82-a761-79fdc6c9a124"
            },
            {
            }
          ],
          "Composition": [
            {
              "StockItemId": "92341634-d0ec-49e6-a9e3-7105346de311",
              "OrderItemRowId": "727ac83c-558d-48e3-b0fe-668c803b6f57",
              "Quantity": 3,
              "Children": [
                {
                },
                {
                }
              ]
            },
            {
            }
          ],
          "OrderId_Guid": "1ff67c96-9b75-4c1a-8c81-3cb66aa96432",
          "IsProcessed": true,
          "IsCancelled": true,
          "IsOnHold": true,
          "IsLocked": true,
          "IsPaid": true
        },
        {
        }
      ],
      "Options": {
        "ItemScanType": "Any",
        "TrayScanRequired": true,
        "TotScanRequired": true,
        "BinRackScanRequired": true
      },
      "PickingWaveId": 9,
      "State": "Unallocated"
    },
    {
    }
  ],
  "Skus": [
    {
      "SKU": "sample string 1",
      "StockItemId": "618e66b8-128b-4fd5-affb-1385fb065c46",
      "ItemTitle": "sample string 3",
      "Barcode": "sample string 4",
      "PrimaryImageURL": "sample string 5",
      "Identifiers": [
        {
          "StockItemId": "2df41c0f-8d71-4bb8-9a81-57740b8cdc39",
          "Type": "EAN",
          "Value": "sample string 2"
        },
        {
        }
      ]
    },
    {
    }
  ],
  "Bins": [
    {
      "BinRackId": 1,
      "StandardType": 1,
      "BatchId": 1,
      "BatchInventoryId": 1,
      "PrioritySequence": 1,
      "BatchStatus": "sample string 1",
      "BinRack": "sample string 1",
      "CurrentFullPercentage": 2.0,
      "Quantity": 3,
      "InTransit": 1,
      "PickedQuantity": 1,
      "InventoryTrackingType": 1,
      "StockItemId": "d148462e-5d46-4676-ae1c-dfa1ee5333fe",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2021-02-21T11:27:22.8021238+00:00",
      "SellBy": "2021-02-21T11:27:22.8021238+00:00",
      "BinrackTypeName": "sample string 6",
      "LocationId": "0e1a97ef-a0f5-4419-966e-525ac03f5de1"
    },
    {
    }
  ]
}