Back

Search

Search

Methods

Inventory

Orders

Stock /GetStockItemsFullByIds

Response: GetStockItemsFullByIdsResponse


Parameters

NameTypeDescription
requestGetStockItemsFullByIdsRequest

HTTP Endpoint

Server /Stock / GetStockItemsFullByIds

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Stock/GetStockItemsFullByIds 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

request={
  "StockItemIds": [
    "8d472c6c-22e5-43fd-a2fc-67b330b1eea2",
    "81b40244-662d-4dd7-a2c6-a293e2c4d51b"
  ],
  "DataRequirements": [
    0,
    0
  ]
}

Response

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

{
  "StockItemsFullExtended": [
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "41d12b8a-8cb9-4194-804b-5bf31b547fb3",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "e49ab4fa-c6ef-41aa-89ac-77896eecfbf4"
        },
        {
          "pkRowId": "41d12b8a-8cb9-4194-804b-5bf31b547fb3",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "e49ab4fa-c6ef-41aa-89ac-77896eecfbf4"
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "13c977e3-ce76-4657-b4cf-884ee045e506",
          "fkStockItemId": "f03fda28-3012-462e-8bb4-94bcf18be8fa",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        },
        {
          "pkRowId": "13c977e3-ce76-4657-b4cf-884ee045e506",
          "fkStockItemId": "f03fda28-3012-462e-8bb4-94bcf18be8fa",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "d6a57b00-732f-4a10-bfcb-1237cb433c28",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "a8e64e06-4c57-4ef2-a85f-21063b1ed4ca"
        },
        {
          "pkRowId": "d6a57b00-732f-4a10-bfcb-1237cb433c28",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "a8e64e06-4c57-4ef2-a85f-21063b1ed4ca"
        }
      ],
      "ItemChannelPrices": [
        {
          "pkRowId": "d1a0b62d-d62e-4553-a09d-c1b4e5415d8a",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "32e246e2-1aa9-49de-aca6-56ac7ca76531"
        },
        {
          "pkRowId": "d1a0b62d-d62e-4553-a09d-c1b4e5415d8a",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "32e246e2-1aa9-49de-aca6-56ac7ca76531"
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "1ea1a3b0-c117-45d2-8631-bb396781b612",
          "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": "0383f543-0896-4065-8757-f3d86130b542"
        },
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "1ea1a3b0-c117-45d2-8631-bb396781b612",
          "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": "0383f543-0896-4065-8757-f3d86130b542"
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "76e322ee-4a45-46d1-a1fb-26815b555a13",
            "LocationName": "sample string 2",
            "IsFulfillmentCenter": true,
            "LocationTag": "sample string 4",
            "BinRack": "sample string 5",
            "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": "2019-10-09T15:11:44.0999522+01:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "ef7d1aeb-a9ad-4928-8b45-38ee726f4717",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "e102ab46-31b2-4289-ab9b-1648aa3a7c75"
        },
        {
          "Location": {
            "StockLocationId": "76e322ee-4a45-46d1-a1fb-26815b555a13",
            "LocationName": "sample string 2",
            "IsFulfillmentCenter": true,
            "LocationTag": "sample string 4",
            "BinRack": "sample string 5",
            "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": "2019-10-09T15:11:44.0999522+01:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "ef7d1aeb-a9ad-4928-8b45-38ee726f4717",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "e102ab46-31b2-4289-ab9b-1648aa3a7c75"
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "7825ae8f-a62c-4561-a6bd-1d230c185e6a",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "db43d418-f4b9-4db0-84a1-8fa40e91f8b0"
        },
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "7825ae8f-a62c-4561-a6bd-1d230c185e6a",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "db43d418-f4b9-4db0-84a1-8fa40e91f8b0"
        }
      ],
      "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": "fbe1fc4d-8e17-4a21-8935-bfa37f4e1364",
      "PostalServiceName": "sample string 8",
      "CategoryId": "278906ce-c71b-444a-b6a8-35dff254c738",
      "CategoryName": "sample string 10",
      "PackageGroupId": "bb195331-abcc-4f03-92d7-977e8eccc632",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2019-10-09T15:11:44.1009655+01:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "ef605cba-5027-425a-98a6-3f6b601c528a"
    },
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "41d12b8a-8cb9-4194-804b-5bf31b547fb3",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "e49ab4fa-c6ef-41aa-89ac-77896eecfbf4"
        },
        {
          "pkRowId": "41d12b8a-8cb9-4194-804b-5bf31b547fb3",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "e49ab4fa-c6ef-41aa-89ac-77896eecfbf4"
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "13c977e3-ce76-4657-b4cf-884ee045e506",
          "fkStockItemId": "f03fda28-3012-462e-8bb4-94bcf18be8fa",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        },
        {
          "pkRowId": "13c977e3-ce76-4657-b4cf-884ee045e506",
          "fkStockItemId": "f03fda28-3012-462e-8bb4-94bcf18be8fa",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "d6a57b00-732f-4a10-bfcb-1237cb433c28",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "a8e64e06-4c57-4ef2-a85f-21063b1ed4ca"
        },
        {
          "pkRowId": "d6a57b00-732f-4a10-bfcb-1237cb433c28",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "a8e64e06-4c57-4ef2-a85f-21063b1ed4ca"
        }
      ],
      "ItemChannelPrices": [
        {
          "pkRowId": "d1a0b62d-d62e-4553-a09d-c1b4e5415d8a",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "32e246e2-1aa9-49de-aca6-56ac7ca76531"
        },
        {
          "pkRowId": "d1a0b62d-d62e-4553-a09d-c1b4e5415d8a",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "47a46bc0-5593-4e17-a50f-d080277797d6",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "32e246e2-1aa9-49de-aca6-56ac7ca76531"
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "1ea1a3b0-c117-45d2-8631-bb396781b612",
          "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": "0383f543-0896-4065-8757-f3d86130b542"
        },
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "1ea1a3b0-c117-45d2-8631-bb396781b612",
          "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": "0383f543-0896-4065-8757-f3d86130b542"
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "76e322ee-4a45-46d1-a1fb-26815b555a13",
            "LocationName": "sample string 2",
            "IsFulfillmentCenter": true,
            "LocationTag": "sample string 4",
            "BinRack": "sample string 5",
            "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": "2019-10-09T15:11:44.0999522+01:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "ef7d1aeb-a9ad-4928-8b45-38ee726f4717",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "e102ab46-31b2-4289-ab9b-1648aa3a7c75"
        },
        {
          "Location": {
            "StockLocationId": "76e322ee-4a45-46d1-a1fb-26815b555a13",
            "LocationName": "sample string 2",
            "IsFulfillmentCenter": true,
            "LocationTag": "sample string 4",
            "BinRack": "sample string 5",
            "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": "2019-10-09T15:11:44.0999522+01:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "ef7d1aeb-a9ad-4928-8b45-38ee726f4717",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "e102ab46-31b2-4289-ab9b-1648aa3a7c75"
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "7825ae8f-a62c-4561-a6bd-1d230c185e6a",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "db43d418-f4b9-4db0-84a1-8fa40e91f8b0"
        },
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "7825ae8f-a62c-4561-a6bd-1d230c185e6a",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "db43d418-f4b9-4db0-84a1-8fa40e91f8b0"
        }
      ],
      "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": "fbe1fc4d-8e17-4a21-8935-bfa37f4e1364",
      "PostalServiceName": "sample string 8",
      "CategoryId": "278906ce-c71b-444a-b6a8-35dff254c738",
      "CategoryName": "sample string 10",
      "PackageGroupId": "bb195331-abcc-4f03-92d7-977e8eccc632",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2019-10-09T15:11:44.1009655+01:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "ef605cba-5027-425a-98a6-3f6b601c528a"
    }
  ]
}