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=e64e8ef4-3725-410f-9a00-076648ea56f7

Response

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

[
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "76b16b9a-14a0-4a46-8aff-159235181075",
    "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": "3cc0574a-f38d-4f76-bb23-fe638547094f"
  },
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "76b16b9a-14a0-4a46-8aff-159235181075",
    "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": "3cc0574a-f38d-4f76-bb23-fe638547094f"
  }
]