Back

Search

Search

Methods

Inventory

Orders

Orders /GetOrderItems

Response: List<OrderItem>



Get order items

Parameters

NameTypeDescription
orderIdGuidOrder id
fulfilmentCenterGuidCurrent fulfilment center

HTTP Endpoint

Server /Orders / GetOrderItems

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/GetOrderItems 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

orderId=7010a775-594f-4e62-84c9-dcc1e409df0c&fulfilmentCenter=9797224b-08a6-4d54-99cf-c3ed4d84dc79

Response

This is an example response. Results may vary depending on your data.

[
  {
    "ItemId": "976ce978-401c-45db-abee-56370df89664",
    "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": "e2d46785-4599-463a-96ce-9f0bd9d3d297",
      "Rowid": "cbdc0bf2-5631-450d-8ec6-5fe8fcab9aea",
      "pkPurchaseId": "ca0287d8-c55d-491d-a883-4edccf313806",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "7d44bf66-1912-42b8-ba66-962d95f39bcf",
      "DateOfDelivery": "2019-10-09T15:11:44.4079543+01:00",
      "QuotedDeliveryDate": "2019-10-09T15:11:44.4079543+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "f16eb8b5-fcb0-4c74-b276-9fdda43c065a"
    },
    "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": "0e298c55-5255-424d-bdbc-a8faa84b02f7",
    "AdditionalInfo": [
      {
        "pkOptionId": "24970aad-9fc3-4921-b19d-d1fba8d6d257",
        "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": "d56cab04-4e36-4e41-8f96-1772731f0603",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "ffaf3511-841e-4579-b89c-6901ca9b12d8",
    "OrderId": "f19e47f9-849a-4476-854a-9bd3d812b141",
    "StockItemId": "43096cc3-b69d-47a5-aaad-35cdae8e088f"
  },
  {
  }
]