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=02079d07-6293-4511-8d56-8001a794ab1b&fulfilmentCenter=359d32ca-eb11-483e-9c1f-e2a755dab45a

Response

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

[
  {
    "OrderId": "dca4e7f4-9eaf-47ec-8466-25b7ebabf1e9",
    "ItemId": "933d77e8-e222-45f0-9a2a-842111362971",
    "StockItemId": "f70736c4-3d5e-453f-9832-ae15357d9eb7",
    "ItemNumber": "sample string 4",
    "SKU": "sample string 5",
    "ItemSource": "sample string 6",
    "Title": "sample string 7",
    "Quantity": 8,
    "CategoryName": "sample string 9",
    "CompositeAvailablity": 1,
    "RowId": "e22dbd53-4236-46b1-a0ec-7db97097a45e",
    "StockLevelsSpecified": true,
    "OnOrder": 12,
    "InOrderBook": 1,
    "Level": 13,
    "MinimumLevel": 1,
    "AvailableStock": 14,
    "PricePerUnit": 15.1,
    "UnitCost": 16.1,
    "Discount": 17.1,
    "Tax": 22.1,
    "TaxRate": 18.1,
    "Cost": 19.1,
    "CostIncTax": 20.1,
    "CompositeSubItems": [
      {
      },
      {
      }
    ],
    "IsService": true,
    "SalesTax": 22.1,
    "TaxCostInclusive": true,
    "PartShipped": true,
    "Weight": 25.1,
    "BarcodeNumber": "sample string 26",
    "Market": 27,
    "ChannelSKU": "sample string 28",
    "ChannelTitle": "sample string 29",
    "DiscountValue": 17.490939881456391,
    "HasImage": true,
    "ImageId": "259cc41d-145d-4ec0-993d-4184c4d1638f",
    "AdditionalInfo": [
      {
        "pkOptionId": "7ccf3c02-9317-4edd-ac0f-08c5f4dabad8",
        "Property": "sample string 2",
        "Value": "sample string 3"
      },
      {
      }
    ],
    "StockLevelIndicator": 30,
    "BatchNumberScanRequired": true,
    "SerialNumberScanRequired": true,
    "BinRack": "sample string 33",
    "BinRacks": [
      {
        "Quantity": 1,
        "BinRack": "sample string 2",
        "Location": "5bf85fe5-0c4a-43e7-a288-d0ff36e9c158"
      },
      {
      }
    ],
    "InventoryTrackingType": 34,
    "isBatchedStockItem": false
  },
  {
  }
]