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": [
    "a8bc60da-0f1e-4b39-abc6-be740b4cd243"
  ],
  "DataRequirements": [
    0
  ]
}

Response

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

{
  "StockItemsFullExtended": [
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "ce6cba33-3142-4527-8a00-464b13281845",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "df600a72-c100-4ea0-87a7-84ec5755aede",
          "StockItemIntId": 2
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "80066196-ded2-40e1-9951-46bcef67cddf",
          "fkStockItemId": "55a1b99e-f249-47c3-868e-ccb74da4ca24",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "c0d37088-a8a2-49b3-8ff5-8690c29555dd",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "1c50130c-f35a-4b79-83dc-80f57623bacc",
          "StockItemIntId": 2
        }
      ],
      "ItemChannelPrices": [
        {
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "52b24dbb-d21c-4eea-925a-b861ecdb2c5b",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "pkRowId": "fafb1745-01d9-4417-b2b5-efd0a7fc38ba",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "Tag": "sample string 5",
          "UpdateStatus": 0,
          "StockItemId": "3515e106-3abb-4251-8935-384301a1a037",
          "StockItemIntId": 2
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "43127c72-f56d-4f74-9531-a19fe634b0bd",
          "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": "3aa7bd8f-8bd5-4a09-b045-3329e500f44c",
          "StockItemIntId": 16
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "4b17cfae-e68a-45c8-869a-e67170ad693b",
            "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-09-05T15:10:03.6937124+03:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "494a60ef-bec6-46c5-bf40-c22b3109164a",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "9466be81-aac6-4658-a4e7-8c3596938b69",
          "StockItemIntId": 15
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "80069182-a62a-448f-9535-e6524096aeed",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "97040a8c-dfd5-4ef7-a358-56fedb57a189",
          "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": "09a8eae6-904e-4b6c-ad73-6facf38c9565",
      "PostalServiceName": "sample string 8",
      "CategoryId": "ab7b241e-1ea4-46dd-9c38-77b2959af9a5",
      "CategoryName": "sample string 10",
      "PackageGroupId": "32c53588-c484-4d4b-8212-a435dee902cc",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2022-09-05T15:10:03.6946305+03:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "4c5f078e-3695-47f1-b914-85ca3de86b73",
      "StockItemIntId": 22
    }
  ]
}