Back

Search

Search

Methods

Inventory

Orders

Picking /GeneratePickingWave

Response: GeneratePickingWaveResponse


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": "676b96b4-c8fc-4183-8224-460bba0af6fe",
  "UserId": 1,
  "Orders": [
    {
      "OrderId": 1
    },
    {
      "OrderId": 1
    }
  ],
  "Pickwaves": [
    {
      "Orders": [
        {
          "Items": [
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        },
        {
          "Items": [
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        }
      ],
      "GroupType": "Items"
    },
    {
      "Orders": [
        {
          "Items": [
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            }
          ],
          "OrderId": 1
        },
        {
          "Items": [
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "BatchInventoryId": 1
            },
            {
              "OrderItemRowId": "a63df27e-c67d-49e3-b002-c9aa9d96ec53",
              "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": "ff6eac15-2b4b-43df-a51f-8dd64aa523c4",
      "Errors": [
        {
          "Error": "sample string 1",
          "ErrorType": "Unknown",
          "OrderItemRowId": "763937b4-1e2c-43bb-964a-8f5f4e33e1ec"
        },
        {
        }
      ],
      "HasErrors": true,
      "OrderDetails": [
        {
          "LocationId": "2fa573b1-e787-4578-95bf-e19411fc214d",
          "OrderItemRowId": "bbc8b480-f658-44ff-bb4c-6f952db9c6ae",
          "BatchInventoryId": 1,
          "StockItemId": "c3646d48-6844-4b95-bb64-ddaf1301f8ea",
          "SKU": "sample string 4",
          "ItemTitle": "sample string 5",
          "Binrack": "sample string 6",
          "BatchNumber": "sample string 7",
          "Quantity": 8,
          "RoutingSequence": 9
        },
        {
        }
      ]
    },
    {
    }
  ],
  "PickingWaves": [
    {
      "PickingWaveId": 1,
      "LocationId": "c44d12b2-4e7c-43b3-bca7-0f93cf5738bc",
      "UserId": 1,
      "EmailAddress": "sample string 3",
      "CreatedDate": "2020-11-10T15:13:07.1970422+00:00",
      "OrderCount": 5,
      "ItemCount": 6,
      "ItemsPicked": 7,
      "OrdersPicked": 8,
      "State": "Unallocated",
      "AccumulatedInProgressSeconds": 9,
      "StartTime": "2020-11-10T15:13:07.1970422+00:00",
      "EndTime": "2020-11-10T15:13:07.1970422+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": "83d45f2d-6171-4d86-855d-b36574ef1b7f",
              "StockItemId": "dc043f93-e8f2-46a7-ab4f-56b336e4150a"
            },
            {
            }
          ],
          "Composition": [
            {
              "StockItemId": "337e323e-f78b-4426-8fe6-9e5a58f118d4",
              "OrderItemRowId": "40b81005-43ad-46d6-875b-a4efd4566458",
              "Quantity": 3,
              "Children": [
                {
                },
                {
                }
              ]
            },
            {
            }
          ],
          "OrderId_Guid": "9a731f1b-e385-4f60-b21e-10c2b73e9575",
          "IsProcessed": true,
          "IsCancelled": true,
          "IsOnHold": true,
          "IsLocked": true,
          "IsPaid": true
        },
        {
        }
      ],
      "Options": {
        "ItemScanType": "Any",
        "TrayScanRequired": true,
        "TotScanRequired": true,
        "BinRackScanRequired": true
      }
    },
    {
    }
  ],
  "Skus": [
    {
      "SKU": "sample string 1",
      "StockItemId": "4441e686-6876-42a1-886b-b240ab04693b",
      "ItemTitle": "sample string 3",
      "Barcode": "sample string 4",
      "PrimaryImageURL": "sample string 5",
      "Identifiers": [
        {
          "StockItemId": "84c66130-018d-44e5-b4ca-9d42cb74580c",
          "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": "f83aa05c-a31e-4f98-98f8-6c9264a1fd0a",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2020-11-10T15:13:07.1970422+00:00",
      "SellBy": "2020-11-10T15:13:07.1970422+00:00",
      "BinrackTypeName": "sample string 6",
      "LocationId": "e9da7d9d-67b0-436d-b794-19a6ec05b3be"
    },
    {
    }
  ]
}