Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": [
    "7a639e1b-5b00-497f-98c4-152133ecac44"
  ],
  "DataRequirements": [
    0
  ]
}

Response

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

{
  "StockItemsFullExtended": [
    {
      "ItemChannelDescriptions": [
        {
          "pkRowId": "87263601-f75e-4517-b73d-316dc36445f2",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Description": "sample string 4",
          "StockItemId": "404464ef-034e-4d20-99ba-14a5860bbbfa",
          "StockItemIntId": 2
        }
      ],
      "ItemExtendedProperties": [
        {
          "pkRowId": "23a45817-d574-4ce2-bb29-5338f1c4e325",
          "fkStockItemId": "075259de-6259-4426-9343-f2ca35165c80",
          "ProperyName": "sample string 3",
          "PropertyValue": "sample string 4",
          "PropertyType": "sample string 5"
        }
      ],
      "ItemChannelTitles": [
        {
          "pkRowId": "ff2de59b-9d86-401a-b253-d3fec2ce53b9",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Title": "sample string 4",
          "StockItemId": "4ddcb9fc-5e22-4074-b56e-882625e2445f",
          "StockItemIntId": 2
        }
      ],
      "ItemChannelPrices": [
        {
          "Rules": [
            {
              "pkRowId": 1,
              "fkStockPricingId": "bbcbdaf5-e74a-4e41-95ec-38b2e1b9dbbb",
              "Type": "sample string 2",
              "LowerBound": 3,
              "Value": 4.1
            }
          ],
          "pkRowId": "2e86fe1a-b928-4609-95bb-63bf521a4994",
          "Source": "sample string 2",
          "SubSource": "sample string 3",
          "Price": 4.1,
          "Tag": "sample string 5",
          "UpdateStatus": 0,
          "StockItemId": "b0876367-98f4-4042-9cc8-e551792280bb",
          "StockItemIntId": 2
        }
      ],
      "Suppliers": [
        {
          "IsDefault": true,
          "Supplier": "sample string 2",
          "SupplierID": "b1e2a29e-4a9c-4ae4-9b96-c410d7546d0f",
          "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": "e3c1f025-a648-41f9-9cde-c2802f2ef53c",
          "StockItemIntId": 16
        }
      ],
      "StockLevels": [
        {
          "Location": {
            "StockLocationId": "1172b73d-5da8-4f05-9061-face8607a9ee",
            "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": "2021-07-29T09:24:42.7902152+01:00",
          "LastUpdateOperation": "sample string 10",
          "rowid": "e45c83e8-b155-4e2f-be0d-a57f192e25cc",
          "PendingUpdate": true,
          "StockItemPurchasePrice": 13.1,
          "StockItemId": "25beb73c-312b-40be-82ae-efcf7ad3e25d",
          "StockItemIntId": 15
        }
      ],
      "Images": [
        {
          "Source": "sample string 1",
          "FullSource": "sample string 2",
          "CheckSumValue": "sample string 3",
          "pkRowId": "72037445-d507-466e-a76f-a31ea018b074",
          "IsMain": true,
          "SortOrder": 6,
          "ChecksumValue": "sample string 7",
          "RawChecksum": "sample string 8",
          "StockItemId": "d591e926-b6bc-4eba-9d8f-1f62833a2a0f",
          "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": "a9c09b0b-e0d7-4c64-852d-c9e55f8d7f17",
      "PostalServiceName": "sample string 8",
      "CategoryId": "c3f7462e-bac0-4bd9-9a9f-64536a6cd986",
      "CategoryName": "sample string 10",
      "PackageGroupId": "a423348e-60d7-4d46-8aa7-25ba03809703",
      "PackageGroupName": "sample string 12",
      "Height": 13.1,
      "Width": 14.1,
      "Depth": 15.1,
      "Weight": 16.1,
      "CreationDate": "2021-07-29T09:24:42.7912151+01:00",
      "IsCompositeParent": true,
      "InventoryTrackingType": 18,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "1852ae81-5427-472e-bba8-0d3a14477394",
      "StockItemIntId": 22
    }
  ]
}