Back

Search

Search

Methods

Inventory

Orders

Inventory /GetStockSupplierStat

Response: List<StockItemSupplierStat>



Use this call to retrieve report about "item supplier stat"

Parameters

NameTypeDescription
inventoryItemIdGuidUsed to specify report stock item id

HTTP Endpoint

Server /Inventory / GetStockSupplierStat

Permissions


Example Code

Example Request

The following request format is required for this method.

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

inventoryItemId=0bde7f0a-2f43-4391-b35a-719f153f65ba

Response

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

[
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "e3a98e5b-eb87-4ad5-8476-20eeac14f07d",
    "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": "365c188d-8433-4e45-9d28-a518ac95f817"
  },
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "e3a98e5b-eb87-4ad5-8476-20eeac14f07d",
    "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": "365c188d-8433-4e45-9d28-a518ac95f817"
  }
]