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=e6f0763b-d321-40f7-8db1-31a99ce614ec&fulfilmentCenter=0e95eed8-5e20-4f97-ac09-3e97e229b450

Response

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

[
  {
    "ItemId": "58e9ab80-6b2b-40e6-8602-4b0ead5eb683",
    "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": "df540d9e-5d81-49a3-bd86-8252811308cf",
      "Rowid": "939403c0-6fa2-4b71-a3f4-88038d5feab1",
      "pkPurchaseId": "05101ff4-981e-4a19-873d-7169d2173e04",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "68f6d3d5-a6a6-4c5d-a4e8-bc89fbfa6c3c",
      "DateOfDelivery": "2019-06-12T09:27:52.3088262+01:00",
      "QuotedDeliveryDate": "2019-06-12T09:27:52.3088262+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "ec1b891b-d300-4e59-bfc1-81f0384afe2c"
    },
    "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": "dbb1dd15-39c6-48b7-9380-db4fc640d5af",
    "AdditionalInfo": [
      {
        "pkOptionId": "de109381-1f76-4a58-a38c-885386011bb6",
        "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": "385dec4f-4035-4b9e-a77e-6b65c7e3317e",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "73a66766-9101-41b4-bc48-02fe8675d5d6",
    "OrderId": "47e9e811-4c16-4cca-bddc-61a429221d11",
    "StockItemId": "5a895e6e-b4e3-442a-b0c9-6b18c9d9a9a1"
  },
  {
  }
]