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": "97319f87-034b-4236-81a3-80d3c23794bf",
  "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": "22b9e958-524c-4e8c-afd0-38a9501e0ff2",
  "OrderSummary": {
    "OrderId": "c41da7c1-2f0d-49a9-a50f-37106d787550",
    "NumOrderId": 2,
    "ReceivedDate": "2019-10-09T15:11:44.9884961+01:00",
    "ProcessDate": "2019-10-09T15:11:44.9884961+01:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "ItemId": "465abece-ec91-4190-8d53-7543466c24dd",
      "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": "f1b5cd59-47a8-420a-8354-710fd5011754",
        "Rowid": "694435e1-765c-4d7b-9c58-11c34c08ae7b",
        "pkPurchaseId": "6ab69f8b-d4f8-41eb-8ae4-8d57015e9dee",
        "ExternalInvoiceNumber": "sample string 4",
        "fkSupplierId": "34076109-61a8-47ac-b709-c3edbf87e404",
        "DateOfDelivery": "2019-10-09T15:11:44.9884961+01:00",
        "QuotedDeliveryDate": "2019-10-09T15:11:44.9884961+01:00",
        "SupplierName": "sample string 8",
        "fkLocationId": "5be80d34-464d-4c1e-930e-234a6171a8c7"
      },
      "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": "6d62f50e-f057-47ef-8b89-9b099ecf93f7",
      "AdditionalInfo": [
        {
          "pkOptionId": "efd40b24-1e7d-4f11-a433-7d291683b33d",
          "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": "4889e321-60a1-440f-91ab-1712f610ae58",
          "BatchId": 1,
          "OrderItemBatchId": 1
        },
        {
        }
      ],
      "InventoryTrackingType": 33,
      "isBatchedStockItem": false,
      "IsWarehouseManaged": true,
      "HasPurchaseOrders": true,
      "CanPurchaseOrderFulfil": true,
      "IsUnlinked": false,
      "RowId": "ac80ffb2-5f4a-48b7-a5ac-78d4e59c8c20",
      "OrderId": "86cb60db-4a7e-4299-943f-a541e392b980",
      "StockItemId": "4bf17989-6b40-4b38-af09-fc6df8872495"
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "c5b3eb89-82da-4d2d-90e7-39830be29cfc",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2019-10-09T15:11:44.9884961+01:00",
      "SellBy": "2019-10-09T15:11:44.9884961+01:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "40e0fa01-f6e0-4ce6-bcbb-b4288c5340a4",
          "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
    },
    {
    }
  ]
}