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": "4c43b09b-9581-47cd-9866-63f15af11de2",
  "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": "a79c6114-cc05-4f36-9e44-c3d4a94bc0b8",
  "OrderSummary": {
    "OrderId": "c5e67426-9786-4308-8bfc-d485353f99fa",
    "NumOrderId": 2,
    "ReceivedDate": "2019-06-12T09:27:52.7371245+01:00",
    "ProcessDate": "2019-06-12T09:27:52.7371245+01:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "ItemId": "9867dc11-4064-4fca-bec3-8f81775b6596",
      "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,
      "OnPurchaseOrder": {
        "pkPurchaseItemId": "11f726fb-5868-4a6a-84f3-ef8112610346",
        "Rowid": "4751fbf4-97c1-407c-bdfa-3bb2cada29f0",
        "pkPurchaseId": "9acc313d-0e05-4d83-9490-e33452ff8230",
        "ExternalInvoiceNumber": "sample string 4",
        "fkSupplierId": "f81896fe-99ab-49da-9905-217d80c06300",
        "DateOfDelivery": "2019-06-12T09:27:52.7371245+01:00",
        "QuotedDeliveryDate": "2019-06-12T09:27:52.7371245+01:00",
        "SupplierName": "sample string 8",
        "fkLocationId": "947099cd-1a29-4c0d-8ca2-b5924cedeb35"
      },
      "InOrderBook": 1,
      "Level": 11,
      "MinimumLevel": 1,
      "AvailableStock": 12,
      "PricePerUnit": 13.1,
      "UnitCost": 14.1,
      "DespatchStockUnitCost": 15.1,
      "Discount": 16.1,
      "Tax": 21.1,
      "TaxRate": 17.1,
      "Cost": 18.1,
      "CostIncTax": 19.1,
      "CompositeSubItems": [
        {
        },
        {
        }
      ],
      "IsService": true,
      "SalesTax": 21.1,
      "TaxCostInclusive": true,
      "PartShipped": true,
      "Weight": 24.1,
      "BarcodeNumber": "sample string 25",
      "Market": 26,
      "ChannelSKU": "sample string 27",
      "ChannelTitle": "sample string 28",
      "DiscountValue": 10.806660973526899,
      "HasImage": true,
      "ImageId": "555c6b64-703a-484d-8631-41c85d815d08",
      "AdditionalInfo": [
        {
          "pkOptionId": "adc85f5f-75d7-4602-af17-dbe429096e90",
          "Property": "sample string 2",
          "Value": "sample string 3"
        },
        {
        }
      ],
      "StockLevelIndicator": 29,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "BinRack": "sample string 32",
      "BinRacks": [
        {
          "Quantity": 1,
          "BinRack": "sample string 2",
          "Location": "87a035c9-c46d-4f8f-8ff6-ca9d4c200d05",
          "BatchId": 1,
          "OrderItemBatchId": 1
        },
        {
        }
      ],
      "InventoryTrackingType": 33,
      "isBatchedStockItem": false,
      "IsWarehouseManaged": true,
      "HasPurchaseOrders": true,
      "CanPurchaseOrderFulfil": true,
      "IsUnlinked": false,
      "RowId": "470e9655-f120-4ba0-ac3a-1db41a8c1507",
      "OrderId": "f0e2229a-9b93-4e51-b622-a227861bcd68",
      "StockItemId": "61cf2733-73fa-4aa9-8a9c-12ab03727105"
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "64f318b0-39bf-41c7-adc7-06c1ef95a10e",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2019-06-12T09:27:52.7371245+01:00",
      "SellBy": "2019-06-12T09:27:52.7371245+01:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "6c9d3b94-a2a6-496c-8e8b-b9435d835b23",
          "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
    },
    {
    }
  ]
}