Back

Search

Search

Methods

Inventory

Orders

Inventory /GetInventoryItemById

Response: StockItemInv



Use this call to get all product details

Parameters

NameTypeDescription
idGuid

HTTP Endpoint

Server /Inventory / GetInventoryItemById

Permissions


Example Code

Example Request

The following request format is required for this method.

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

id=030340b4-5cd7-43b6-951a-d795221a2244

Response

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

{
  "VariationGroupName": "sample string 1",
  "ItemDescription": "sample string 1",
  "Quantity": 2,
  "InOrder": 3,
  "Due": 4,
  "MinimumLevel": 5,
  "Available": -1,
  "IsCompositeParent": true,
  "ItemNumber": "sample string 6",
  "ItemTitle": "sample string 7",
  "BarcodeNumber": "sample string 8",
  "MetaData": "sample string 9",
  "isBatchedStockType": false,
  "PurchasePrice": 10.1,
  "RetailPrice": 1.1,
  "TaxRate": 11.1,
  "PostalServiceId": "e7a7704f-0b20-4117-823a-b722fdf3db60",
  "PostalServiceName": "sample string 13",
  "CategoryId": "60ddf866-722d-40b9-8f13-994fdb2bf86b",
  "CategoryName": "sample string 15",
  "PackageGroupId": "1ae96028-a8d9-44c0-a88c-2af2fd82c184",
  "PackageGroupName": "sample string 17",
  "Height": 18.1,
  "Width": 19.1,
  "Depth": 20.1,
  "Weight": 21.1,
  "CreationDate": "2019-11-28T09:46:02.5380066+00:00",
  "InventoryTrackingType": 22,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "b8e436a2-0731-4102-84d9-532b427e602c",
  "StockItemIntId": 26
}