Back

Search

Search

Methods

Inventory

Orders

Orders /ProcessOrderByOrderOrReferenceId

Response: ProcessOrderByOrderIdOrReferenceResponse


Parameters

NameTypeDescription
requestProcessOrderByOrderIdOrReferenceRequest

HTTP Endpoint

Server /Orders / ProcessOrderByOrderOrReferenceId

Permissions

GlobalPermissions.OrderBook.DespatchConsole.DespatchConsoleNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/ProcessOrderByOrderOrReferenceId 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={
  "OrderOrReferenceId": "sample string 1",
  "LocationId": "2cc0593c-8a80-4273-a022-b9fae0d83bd5",
  "ScansPerformed": true,
  "OrderProcessingNotesAcknowledged": true,
  "WorkflowJobId": 1
}

Response

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

{
  "ProcessedState": 0,
  "Message": "sample string 1",
  "Response": {
  },
  "OrderId": "2d9d7208-929e-4c87-ad46-9e971b5d6dec",
  "OrderSummary": {
    "OrderId": "8c57ad19-deab-4f67-a680-b7e7a87364e8",
    "NumOrderId": 2,
    "ReceivedDate": "2018-02-19T16:57:08.3644488+00:00",
    "ProcessDate": "2018-02-19T16:57:08.3644488+00:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "OrderId": "4b820869-4415-4c0b-9f21-91d063da234b",
      "ItemId": "e602291b-75ff-4d0c-8100-aca863afaf1a",
      "StockItemId": "266309f4-a274-49f3-bc52-34fd4772f79d",
      "ItemNumber": "sample string 4",
      "SKU": "sample string 5",
      "ItemSource": "sample string 6",
      "Title": "sample string 7",
      "Quantity": 8,
      "CategoryName": "sample string 9",
      "CompositeAvailablity": 1,
      "RowId": "3e2b44c3-4b8a-47dc-aa3a-a5d19ae66545",
      "StockLevelsSpecified": true,
      "OnOrder": 12,
      "InOrderBook": 1,
      "Level": 13,
      "MinimumLevel": 1,
      "AvailableStock": 14,
      "PricePerUnit": 15.1,
      "UnitCost": 16.1,
      "Discount": 17.1,
      "Tax": 22.1,
      "TaxRate": 18.1,
      "Cost": 19.1,
      "CostIncTax": 20.1,
      "CompositeSubItems": [
        {
        },
        {
        }
      ],
      "IsService": true,
      "SalesTax": 22.1,
      "TaxCostInclusive": true,
      "PartShipped": true,
      "Weight": 25.1,
      "BarcodeNumber": "sample string 26",
      "Market": 27,
      "ChannelSKU": "sample string 28",
      "ChannelTitle": "sample string 29",
      "DiscountValue": 17.490939881456391,
      "HasImage": true,
      "ImageId": "9d6e894f-87f6-43d8-85e5-34917f759fc7",
      "AdditionalInfo": [
        {
          "pkOptionId": "6dbb37e1-885f-4779-b95d-d9083d90e6ed",
          "Property": "sample string 2",
          "Value": "sample string 3"
        },
        {
        }
      ],
      "StockLevelIndicator": 30,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "BinRack": "sample string 33",
      "BinRacks": [
        {
          "Quantity": 1,
          "BinRack": "sample string 2",
          "Location": "fc35addf-9d5e-4047-a04b-ad7e27b806a5"
        },
        {
        }
      ],
      "InventoryTrackingType": 34,
      "isBatchedStockItem": false
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "5c1b9221-53f8-4d7f-8f5f-570a5a0c40c3",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2018-02-19T16:57:08.3644488+00:00",
      "SellBy": "2018-02-19T16:57:08.3644488+00:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "84912dc6-026d-4eed-b550-ff9ed38ab00a",
          "BinRack": "sample string 4",
          "PrioritySequence": 5,
          "Quantity": 6,
          "StockValue": 7.0,
          "StartQuantity": 8,
          "PickedQuantity": 9,
          "BatchStatus": "Available",
          "IsDeleted": false
        }
      ],
      "IsDeleted": true
    },
    {
    }
  ]
}