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=7ec8255c-dfe5-46a9-ba30-e4cee3a06761&fulfilmentCenter=487a3e2f-f1bb-4ca8-82ef-f3200690afe3

Response

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

[
  {
    "ItemId": "3780b8ff-8ff9-47ca-93d6-7e2545b93080",
    "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,
    "InOrderBook": 1,
    "Level": 11,
    "MinimumLevel": 1,
    "AvailableStock": 12,
    "PricePerUnit": 13.1,
    "UnitCost": 14.1,
    "Discount": 15.1,
    "Tax": 20.1,
    "TaxRate": 16.1,
    "Cost": 17.1,
    "CostIncTax": 18.1,
    "CompositeSubItems": [
      {
      },
      {
      }
    ],
    "IsService": true,
    "SalesTax": 20.1,
    "TaxCostInclusive": true,
    "PartShipped": true,
    "Weight": 23.1,
    "BarcodeNumber": "sample string 24",
    "Market": 25,
    "ChannelSKU": "sample string 26",
    "ChannelTitle": "sample string 27",
    "DiscountValue": 10.222739018087856,
    "HasImage": true,
    "ImageId": "234736a2-ffe7-4e37-b699-e7c05ab99d4c",
    "AdditionalInfo": [
      {
        "pkOptionId": "f1f65def-dbcb-453c-8e99-f6f1475673b0",
        "Property": "sample string 2",
        "Value": "sample string 3"
      },
      {
      }
    ],
    "StockLevelIndicator": 28,
    "BatchNumberScanRequired": true,
    "SerialNumberScanRequired": true,
    "BinRack": "sample string 31",
    "BinRacks": [
      {
        "Quantity": 1,
        "BinRack": "sample string 2",
        "Location": "0d489920-8436-4f24-afdb-70fc03d975ab",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 32,
    "isBatchedStockItem": false,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "b9cd5f74-eae4-4b6b-a8c7-4c8f3806caf5",
    "OrderId": "32dcd970-4bdd-416d-a01d-572536e003de",
    "StockItemId": "30b6d344-6497-4760-84fa-46679d3d25ca"
  },
  {
  }
]