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": "706435c6-8cea-482a-9ab2-c02db0312ca6",
  "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": "1888be81-4532-4da9-ba25-63f953a8479c",
  "OrderSummary": {
    "OrderId": "8a4a1d0b-1ab8-4870-8435-75995bae6455",
    "NumOrderId": 2,
    "ReceivedDate": "2019-11-28T09:46:01.3883734+00:00",
    "ProcessDate": "2019-11-28T09:46:01.3883734+00:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "ItemId": "f21fcfab-6f33-4748-8f4a-3c162f74d9f6",
      "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": "1b4357d3-0fd6-4396-9f9f-1c1d2ca04aab",
        "Rowid": "9471c925-a8b6-48b0-bd45-4765ebf3b398",
        "pkPurchaseId": "0033f710-d51e-4626-ba8d-1688a5dd52b5",
        "ExternalInvoiceNumber": "sample string 4",
        "fkSupplierId": "77b95024-b809-443a-acb9-9e91f7f91ff3",
        "DateOfDelivery": "2019-11-28T09:46:01.3883734+00:00",
        "QuotedDeliveryDate": "2019-11-28T09:46:01.3883734+00:00",
        "SupplierName": "sample string 8",
        "fkLocationId": "bd52d04e-360c-4826-b0df-b47a22a3d1e3"
      },
      "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": "cdfe1b23-649e-419d-925e-bd890f59f7cd",
      "AdditionalInfo": [
        {
          "pkOptionId": "94bd4dd4-97ec-4313-8449-700a9a6df7e0",
          "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": "e3e5dc55-363d-4598-a921-5bc6c68f2b6e",
          "BatchId": 1,
          "OrderItemBatchId": 1
        },
        {
        }
      ],
      "InventoryTrackingType": 33,
      "isBatchedStockItem": false,
      "IsWarehouseManaged": true,
      "HasPurchaseOrders": true,
      "CanPurchaseOrderFulfil": true,
      "IsUnlinked": false,
      "RowId": "5bca9998-6fb6-4f3f-a21d-5ee97c8968dd",
      "OrderId": "6bdd305b-3643-4e40-893a-97d074eea9ee",
      "StockItemId": "28954997-723d-43e2-b3a9-9c0746f51505"
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "bbfe1fae-d844-414f-b511-dc915e0004d1",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2019-11-28T09:46:01.3883734+00:00",
      "SellBy": "2019-11-28T09:46:01.3883734+00:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "07e8390f-bbed-4dc7-811a-00823a7d5968",
          "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
    },
    {
    }
  ]
}