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": [
    "ba21d7f7-503e-405a-b26f-de385e9701de",
    "383a029c-52a1-4bb9-a0f5-4fbff2b51c40"
  ],
  "DataRequirements": [
    0,
    0
  ]
}

Response

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

{
  "StockItemsFullExtended": [
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "a020cd1f-e315-45a9-a079-53694ee78a80",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "6430f69d-3dd9-457d-960b-0376ab1b9375",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "a020cd1f-e315-45a9-a079-53694ee78a80",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "6430f69d-3dd9-457d-960b-0376ab1b9375",
          "StockItemIntId": 2
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "cf3e8c73-aeae-4db9-b86d-0c3533599a11",
          "fkStockItemId": "be39c35f-1086-4027-a0be-b771fe5c0857",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        },
        {
          "pkRowId": "cf3e8c73-aeae-4db9-b86d-0c3533599a11",
          "fkStockItemId": "be39c35f-1086-4027-a0be-b771fe5c0857",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "ebd133c1-4c47-4b40-86f1-208ca469b791",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "1941621b-657b-4079-b1a8-db9202d12499",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "ebd133c1-4c47-4b40-86f1-208ca469b791",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "1941621b-657b-4079-b1a8-db9202d12499",
          "StockItemIntId": 2
        }
      ],
      "ItemChannelPrices": [
        {
          "pkRowId": "d7ff56a4-cd56-48d7-a3f9-125500d3f12f",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "15ad3c5e-1c8c-4116-99fc-0067605a90b2",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "d7ff56a4-cd56-48d7-a3f9-125500d3f12f",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "15ad3c5e-1c8c-4116-99fc-0067605a90b2",
          "StockItemIntId": 2
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "81fd32b2-8ae4-48d6-b3e7-4eb9b17f4d88",
          "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": "d416550f-0d43-4e9e-a0a8-cd4e9ff2acda",
          "StockItemIntId": 16
        },
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "81fd32b2-8ae4-48d6-b3e7-4eb9b17f4d88",
          "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": "d416550f-0d43-4e9e-a0a8-cd4e9ff2acda",
          "StockItemIntId": 16
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "af369e9a-9d40-4d56-9a0d-9b62b96c0055",
            "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-11-28T09:46:00.6372278+00:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "cae691db-33cf-4900-a45c-0b273e92ad2c",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "501bacd7-6af8-4277-be0c-0a9668b56769",
          "StockItemIntId": 15
        },
        {
          "Location": {
            "StockLocationId": "af369e9a-9d40-4d56-9a0d-9b62b96c0055",
            "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-11-28T09:46:00.6372278+00:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "cae691db-33cf-4900-a45c-0b273e92ad2c",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "501bacd7-6af8-4277-be0c-0a9668b56769",
          "StockItemIntId": 15
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "a9d43630-949a-4352-ae75-e1700e6f7d12",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "7432f98a-8bad-4729-9e92-9b7b8da855b0",
          "StockItemIntId": 10
        },
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "a9d43630-949a-4352-ae75-e1700e6f7d12",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "7432f98a-8bad-4729-9e92-9b7b8da855b0",
          "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": "3ac3ee5e-b560-4c50-bc59-2bc218e79663",
      "PostalServiceName": "sample string 8",
      "CategoryId": "dd73d512-dd18-4b59-be81-05a75decc1fd",
      "CategoryName": "sample string 10",
      "PackageGroupId": "f17abb29-805c-4210-af70-dcf38b35b45d",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2019-11-28T09:46:00.638224+00:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "2cddd895-ae7c-415f-a28d-2d089da6268e",
      "StockItemIntId": 22
    },
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "a020cd1f-e315-45a9-a079-53694ee78a80",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "6430f69d-3dd9-457d-960b-0376ab1b9375",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "a020cd1f-e315-45a9-a079-53694ee78a80",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "6430f69d-3dd9-457d-960b-0376ab1b9375",
          "StockItemIntId": 2
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "cf3e8c73-aeae-4db9-b86d-0c3533599a11",
          "fkStockItemId": "be39c35f-1086-4027-a0be-b771fe5c0857",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        },
        {
          "pkRowId": "cf3e8c73-aeae-4db9-b86d-0c3533599a11",
          "fkStockItemId": "be39c35f-1086-4027-a0be-b771fe5c0857",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "ebd133c1-4c47-4b40-86f1-208ca469b791",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "1941621b-657b-4079-b1a8-db9202d12499",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "ebd133c1-4c47-4b40-86f1-208ca469b791",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "1941621b-657b-4079-b1a8-db9202d12499",
          "StockItemIntId": 2
        }
      ],
      "ItemChannelPrices": [
        {
          "pkRowId": "d7ff56a4-cd56-48d7-a3f9-125500d3f12f",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "15ad3c5e-1c8c-4116-99fc-0067605a90b2",
          "StockItemIntId": 2
        },
        {
          "pkRowId": "d7ff56a4-cd56-48d7-a3f9-125500d3f12f",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "UpdateStatus": 0,
          "Tag": "sample string 5",
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            },
            {
              "pkRowId": 1,
              "fkStockPricingId": "5fb5d4c5-4ca9-4db6-8dd2-5c3a3750d1e4",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "StockItemId": "15ad3c5e-1c8c-4116-99fc-0067605a90b2",
          "StockItemIntId": 2
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "81fd32b2-8ae4-48d6-b3e7-4eb9b17f4d88",
          "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": "d416550f-0d43-4e9e-a0a8-cd4e9ff2acda",
          "StockItemIntId": 16
        },
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "81fd32b2-8ae4-48d6-b3e7-4eb9b17f4d88",
          "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": "d416550f-0d43-4e9e-a0a8-cd4e9ff2acda",
          "StockItemIntId": 16
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "af369e9a-9d40-4d56-9a0d-9b62b96c0055",
            "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-11-28T09:46:00.6372278+00:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "cae691db-33cf-4900-a45c-0b273e92ad2c",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "501bacd7-6af8-4277-be0c-0a9668b56769",
          "StockItemIntId": 15
        },
        {
          "Location": {
            "StockLocationId": "af369e9a-9d40-4d56-9a0d-9b62b96c0055",
            "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-11-28T09:46:00.6372278+00:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "cae691db-33cf-4900-a45c-0b273e92ad2c",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "501bacd7-6af8-4277-be0c-0a9668b56769",
          "StockItemIntId": 15
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "a9d43630-949a-4352-ae75-e1700e6f7d12",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "7432f98a-8bad-4729-9e92-9b7b8da855b0",
          "StockItemIntId": 10
        },
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "a9d43630-949a-4352-ae75-e1700e6f7d12",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "7432f98a-8bad-4729-9e92-9b7b8da855b0",
          "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": "3ac3ee5e-b560-4c50-bc59-2bc218e79663",
      "PostalServiceName": "sample string 8",
      "CategoryId": "dd73d512-dd18-4b59-be81-05a75decc1fd",
      "CategoryName": "sample string 10",
      "PackageGroupId": "f17abb29-805c-4210-af70-dcf38b35b45d",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2019-11-28T09:46:00.638224+00:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "2cddd895-ae7c-415f-a28d-2d089da6268e",
      "StockItemIntId": 22
    }
  ]
}