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=03a767f3-f178-4564-b67b-99cb8c7d9773

Response

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

[
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "aebeacee-25d9-4fce-a573-295234a37c7b",
    "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": "542dd459-90a1-466c-ba18-a704208dfe1e"
  },
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "aebeacee-25d9-4fce-a573-295234a37c7b",
    "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": "542dd459-90a1-466c-ba18-a704208dfe1e"
  }
]