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": "0b0a8971-2205-4d9f-9e80-ee98ffa9d9e6",
  "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": "65700794-7db0-4885-9189-3aa0d41076f7",
  "OrderSummary": {
    "OrderId": "f27d43b1-381b-43ee-857e-e86980cc31ed",
    "NumOrderId": 2,
    "ReceivedDate": "2019-07-23T15:31:56.6767286+01:00",
    "ProcessDate": "2019-07-23T15:31:56.6767286+01:00",
    "Source": "sample string 5",
    "CustomerName": "sample string 6",
    "NumProducts": 7
  },
  "Items": [
    {
      "ItemId": "5e5de24f-c829-4769-9f27-c3f3c27d4bdf",
      "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": "2c35e330-bb0e-4ac8-b772-8f30e60e153f",
        "Rowid": "c9a1e1f8-8556-4723-a232-10b68b17c4ae",
        "pkPurchaseId": "04984456-c1b0-4479-9412-f827e386853f",
        "ExternalInvoiceNumber": "sample string 4",
        "fkSupplierId": "0a183a8f-7e4c-4529-a856-ae901e7fe95b",
        "DateOfDelivery": "2019-07-23T15:31:56.6767286+01:00",
        "QuotedDeliveryDate": "2019-07-23T15:31:56.6767286+01:00",
        "SupplierName": "sample string 8",
        "fkLocationId": "999d371e-2797-47d0-b9bd-eec9ec6c321f"
      },
      "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": "71b33f72-0741-4233-a8ef-ad840ddacc84",
      "AdditionalInfo": [
        {
          "pkOptionId": "934fbe48-3944-485c-9a60-65a10715cbcd",
          "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": "a176cc2f-27ea-4332-8919-0a073d4117d1",
          "BatchId": 1,
          "OrderItemBatchId": 1
        },
        {
        }
      ],
      "InventoryTrackingType": 33,
      "isBatchedStockItem": false,
      "IsWarehouseManaged": true,
      "HasPurchaseOrders": true,
      "CanPurchaseOrderFulfil": true,
      "IsUnlinked": false,
      "RowId": "d09dd269-e3fe-44c5-a0e6-3c6f3d4c6f40",
      "OrderId": "c54e0ebd-271b-4957-a530-09645bedc44b",
      "StockItemId": "bc46e036-c658-456e-b08d-2bb328e32478"
    },
    {
    }
  ],
  "BatchInformation": [
    {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "415d9766-9615-447c-ab76-b0be60e999ce",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2019-07-23T15:31:56.6767286+01:00",
      "SellBy": "2019-07-23T15:31:56.6767286+01:00",
      "Inventory": [
        null,
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "ac483d00-9221-4e35-88c3-7c823592ec03",
          "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
    },
    {
    }
  ]
}