Back

Search

Search

Methods

Inventory

Orders

Orders /ProcessOrderByOrderOrReferenceId

Response: ProcessOrderByOrderIdOrReferenceResponse


Parameters

NameTypeDescription
requestProcessOrderByOrderIdOrReferenceRequest

HTTP Endpoint

Server /Orders / ProcessOrderByOrderOrReferenceId

Permissions

GlobalPermissions.OrderBook.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": "ec8b2892-e1f9-4154-ac9b-a579d9bc8347",
  "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": "5df970ad-2f5f-40e0-8c58-8a659c53712c",
  "OrderSummary": {
    "OrderId": "5c8ce610-a295-4adf-96c5-6239725fe79e",
    "NumOrderId": 2,
    "ReceivedDate": "2018-10-03T11:12:36.3087838+01:00",
    "ProcessDate": "2018-10-03T11:12:36.3087838+01:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "ItemId": "1f8c3a97-29d3-482a-b698-92ba51ad653e",
      "ItemNumber": "sample string 2",
      "SKU": "sample string 3",
      "ItemSource": "sample string 4",
      "Title": "sample string 5",
      "Quantity": 6,
      "CategoryName": "sample string 8",
      "CompositeAvailablity": 1,
      "StockLevelsSpecified": true,
      "OnOrder": 10,
      "InOrderBook": 1,
      "Level": 11,
      "MinimumLevel": 1,
      "AvailableStock": 12,
      "PricePerUnit": 13.1,
      "UnitCost": 14.1,
      "Discount": 15.1,
      "Tax": 20.1,
      "TaxRate": 16.1,
      "Cost": 17.1,
      "CostIncTax": 18.1,
      "CompositeSubItems": [
        {
        },
        {
        }
      ],
      "IsService": true,
      "SalesTax": 20.1,
      "TaxCostInclusive": true,
      "PartShipped": true,
      "Weight": 23.1,
      "BarcodeNumber": "sample string 24",
      "Market": 25,
      "ChannelSKU": "sample string 26",
      "ChannelTitle": "sample string 27",
      "DiscountValue": 10.222739018087856,
      "HasImage": true,
      "ImageId": "95cf6f46-fb4f-4d45-aa5b-a37b448ebec4",
      "AdditionalInfo": [
        {
          "pkOptionId": "f6540e94-c2f7-4d3d-b543-09b4f7b74c43",
          "Property": "sample string 2",
          "Value": "sample string 3"
        },
        {
        }
      ],
      "StockLevelIndicator": 28,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "BinRack": "sample string 31",
      "BinRacks": [
        {
          "Quantity": 1,
          "BinRack": "sample string 2",
          "Location": "09c5251f-593a-4cfd-85cd-f3195e8543ce",
          "BatchId": 1,
          "OrderItemBatchId": 1
        },
        {
        }
      ],
      "InventoryTrackingType": 32,
      "isBatchedStockItem": false,
      "HasPurchaseOrders": true,
      "CanPurchaseOrderFulfil": true,
      "IsUnlinked": false,
      "RowId": "5bd96006-c164-46b9-8d3b-a2d454f56420",
      "OrderId": "9d685bd7-1e25-4b35-b755-ba1295a12b41",
      "StockItemId": "e82731d6-cfbb-4d27-b4ea-7805ac504d15"
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "5209a578-3657-4ee7-959e-bbb40d60ee12",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2018-10-03T11:12:36.3087838+01:00",
      "SellBy": "2018-10-03T11:12:36.3087838+01:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "20327f30-474c-410c-9691-908226b3e547",
          "BinRack": "sample string 4",
          "PrioritySequence": 5,
          "Quantity": 6,
          "StockValue": 7.0,
          "StartQuantity": 8,
          "PickedQuantity": 9,
          "BatchStatus": "Available",
          "IsDeleted": false,
          "WarehouseBinrackStandardType": null,
          "WarehouseBinrackTypeName": null,
          "InTransfer": null,
          "BinRackId": null
        }
      ],
      "IsDeleted": true
    },
    {
    }
  ]
}