Back

Search

Search

Methods

Inventory

Orders

Picking /GeneratePickingWave

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": "2182c42c-f5ae-4c1f-8284-e4f263d5adbe",
  "UserId": 1,
  "Orders": [
    {
      "OrderId": 1,
      "Items": [
        {
          "OrderItemRowId": "f11e0c76-66cb-4910-ab77-3b1db5026de3"
        },
        {
          "OrderItemRowId": "f11e0c76-66cb-4910-ab77-3b1db5026de3"
        }
      ]
    },
    {
      "OrderId": 1,
      "Items": [
        {
          "OrderItemRowId": "f11e0c76-66cb-4910-ab77-3b1db5026de3"
        },
        {
          "OrderItemRowId": "f11e0c76-66cb-4910-ab77-3b1db5026de3"
        }
      ]
    }
  ],
  "GroupType": "Items"
}

Response

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

{
  "ValidationResults": [
    {
      "OrderId": 1,
      "OrderId_Guid": "a213f7db-be0d-43df-9871-4ff0b67cf59a",
      "Errors": [
        {
          "Error": "sample string 1",
          "ErrorType": "Unknown",
          "OrderItemRowId": "f9962d98-f345-4d27-a815-ce331c9488fb"
        },
        {
        }
      ],
      "HasErrors": true
    },
    {
    }
  ],
  "PickingWaves": [
    {
      "PickingWaveId": 1,
      "LocationId": "f0613ae2-3381-415b-99d3-77bf8cfc9f00",
      "UserId": 1,
      "EmailAddress": "sample string 3",
      "CreatedDate": "2020-08-11T14:34:50.519969+01:00",
      "OrderCount": 5,
      "ItemCount": 6,
      "ItemsPicked": 7,
      "OrdersPicked": 8,
      "State": "Unallocated",
      "AccumulatedInProgressSeconds": 9,
      "StartTime": "2020-08-11T14:34:50.519969+01:00",
      "EndTime": "2020-08-11T14:34:50.519969+01: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": "b7c13af6-2250-4247-9c00-10fd6ef5fa77",
              "StockItemId": "b07a0d2b-d8b6-4e72-973c-814c9d07c63a"
            },
            {
            }
          ],
          "Composition": [
            {
              "StockItemId": "0c7a8762-da7a-459f-a703-a54894f81761",
              "OrderItemRowId": "25533578-c983-4a1f-a647-dd53297df069",
              "Quantity": 3,
              "Children": [
                {
                },
                {
                }
              ]
            },
            {
            }
          ],
          "OrderId_Guid": "5e28df2d-5397-4a45-a2a8-24a7074ccf5c",
          "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": "d0b42997-e3d9-446b-adc0-2606da1cb860",
      "ItemTitle": "sample string 3",
      "Barcode": "sample string 4",
      "PrimaryImageURL": "sample string 5",
      "Identifiers": [
        {
          "StockItemId": "bd7cf954-ec85-4766-bdc4-201f668c590d",
          "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": "ebce5bfa-c5db-4a89-b362-01ef2b575f68",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2020-08-11T14:34:50.5204651+01:00",
      "SellBy": "2020-08-11T14:34:50.5204651+01:00",
      "BinrackTypeName": "sample string 6",
      "LocationId": "9d9053fc-4946-41ef-ae55-d7a2b4f94b1f"
    },
    {
    }
  ]
}