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=fa910db0-a019-4435-ad20-3d61db1045b5&fulfilmentCenter=3b154f3e-7d37-4c0e-98c8-05863848a222

Response

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

[
  {
    "ItemId": "f729fa0f-ddca-4291-89c6-3e911132c3ad",
    "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": "76ed0a23-f9ec-48ed-baf2-81dc63e69e7f",
      "Rowid": "001ac268-bf6e-46a2-88fe-3fb1f07a86a5",
      "pkPurchaseId": "ad96f84e-23b9-49f9-8e59-d79a8567efb5",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "cc1df514-3b42-48b1-b96a-e2815b767d3c",
      "DateOfDelivery": "2019-11-28T09:46:00.8912614+00:00",
      "QuotedDeliveryDate": "2019-11-28T09:46:00.8912614+00:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "0f7663d4-d3f9-462b-b89a-2ef3c0cfccb7"
    },
    "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": "8b51cb34-c68e-48de-aeb7-8b85589e3054",
    "AdditionalInfo": [
      {
        "pkOptionId": "138c9410-110b-4622-8656-8371fefd353a",
        "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": "433aad0f-f1fc-4a5f-a64a-15fae93a476a",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "e9c477f0-a866-42fd-b6b7-acabbddd4560",
    "OrderId": "82021e88-04f9-4cd2-836f-cf892969c177",
    "StockItemId": "dbf91a8a-af95-4b9a-8e1f-d737640d711a"
  },
  {
  }
]