Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockItemsFullByIds

Allows 250 calls per minute

Response: GetStockItemsFullByIdsResponse



Used to get inventory item information at a basic level from ids.

Parameters

NameTypeDescription
requestGetStockItemsFullByIdsRequestObject with a list of pkStockItemIds and Data Requirements

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Stock/GetStockItemsFullByIds

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "StockItemIds": [
    "3c6b3275-bf9e-4382-b0bb-410fc1301db8"
  ],
  "DataRequirements": [
    0
  ]
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "StockItemsFullExtended": [
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "1c804429-e0af-4ac3-a5f0-1c6dea986cb5",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "aea3b828-20d2-48aa-a278-c444c23e0ae0",
          "StockItemIntId": 2
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "81bacabd-d9c6-4774-9831-b72a5070576e",
          "fkStockItemId": "1c728d8a-b520-4ba1-acfc-49629be5c96a",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "793f6b4e-ee02-46fd-a15f-850ead4c06ae",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "ecccc060-5ab4-4aa6-93dc-c168450ef66e",
          "StockItemIntId": 2
        }
      ],
      "ItemChannelPrices": [
        {
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "bcb793dc-2e17-4af4-a295-ecc1ff0f6953",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "pkRowId": "406f2bd5-627b-4204-a6b3-5565a81ceed3",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "Tag": "sample string 5",
          "UpdateStatus": 0,
          "StockItemId": "04a6ff9c-5d9c-4c33-ac87-b48572f8110b",
          "StockItemIntId": 2
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "570fcb22-c796-4557-9d60-b6df90fd01d3",
          "Code": "sample string 4",
          "SupplierBarcode": "sample string 5",
          "LeadTime": 6,
          "PurchasePrice": 7.1,
          "MinPrice": 8.1,
          "MaxPrice": 9.1,
          "AveragePrice": 10.1,
          "AverageLeadTime": 11.1,
          "SupplierMinOrderQty": 12,
          "SupplierPackSize": 13,
          "SupplierCurrency": "sample string 14",
          "StockItemId": "52ab9c89-d962-46ac-825c-c1627c20f9ea",
          "StockItemIntId": 16
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "f2fe1c85-4d0f-4ab9-a1ba-8872a3b1142e",
            "StockLocationIntId": 2,
            "LocationName": "sample string 3",
            "IsFulfillmentCenter": true,
            "LocationTag": "sample string 5",
            "BinRack": "sample string 6",
            "IsWarehouseManaged": true
          },
          "StockLevel": 1,
          "StockValue": 2.1,
          "MinimumLevel": 3,
          "InOrderBook": 4,
          "Due": 5,
          "JIT": true,
          "InOrders": 4,
          "Available": -3,
          "UnitCost": 2.1,
          "SKU": "sample string 7",
          "AutoAdjust": true,
          "LastUpdateDate": "2022-03-09T13:04:11.9445438+00:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "a2392218-8ca4-421d-9302-ad2ac93a6779",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "9a1bfa4f-6ab9-4473-8130-cd0a7ae8251d",
          "StockItemIntId": 15
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "bb44de51-fa8c-4070-8a96-2b71b498e7f8",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "c5a6b694-0ecb-4fdf-9af8-62a47f34c1ac",
          "StockItemIntId": 10
        }
      ],
      "ItemNumber": "sample string 1",
      "ItemTitle": "sample string 2",
      "BarcodeNumber": "sample string 3",
      "MetaData": "sample string 4",
      "isBatchedStockType": false,
      "PurchasePrice": 5.1,
      "RetailPrice": 1.1,
      "TaxRate": 6.1,
      "PostalServiceId": "c338293e-be83-44a8-a64c-d44fdf504317",
      "PostalServiceName": "sample string 8",
      "CategoryId": "745b7ed2-99e8-4ddf-97c6-5a01e7008492",
      "CategoryName": "sample string 10",
      "PackageGroupId": "7a5a0bd6-f75a-42da-9271-63bd756cf365",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2022-03-09T13:04:11.9455375+00:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "38d7dfa6-fa88-43c2-bbee-1f56945f39d1",
      "StockItemIntId": 22
    }
  ]
}