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=fbab2068-b825-4ae7-b391-2299c4dc4a4f&fulfilmentCenter=19fd75a3-2a8c-49d9-8af0-82978457183a

Response

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

[
  {
    "ItemId": "0beea21d-ec29-454f-bdbc-18f83b3c70b2",
    "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": "e172d171-c03e-474b-ad15-1166a4c54121",
      "Rowid": "e1f5dc5a-b3ce-4a5a-b5dc-9503d96bb00f",
      "pkPurchaseId": "6ef5fd9d-112a-4be0-bcb2-2661c215daed",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "7e6eaf0c-4e22-4acd-a9d6-f4fe1b714537",
      "DateOfDelivery": "2019-08-21T13:34:05.9224961+01:00",
      "QuotedDeliveryDate": "2019-08-21T13:34:05.9224961+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "1eace4ed-4273-47c1-832b-3e0d85161a9c"
    },
    "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": "7beefa99-9919-419d-a840-016a53fbe96c",
    "AdditionalInfo": [
      {
        "pkOptionId": "746256a8-2438-4577-981c-13fff5094c47",
        "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": "f5367dfd-0a87-4207-a2eb-41e4f80d73ec",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "0477ff0b-56a4-4d21-8f39-24eaa5cd3da8",
    "OrderId": "ac24cb3e-87a8-470c-97c1-c88841a62045",
    "StockItemId": "62364d0a-0fd8-45c3-8bfa-41816e7a6964"
  },
  {
  }
]