Use this call to update item supplier stat
Name | Type | Description |
---|---|---|
itemSuppliers | List<StockItemSupplierStat> | List of StockItemSupplierStat |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Inventory/UpdateStockSupplierStat
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
This is an example of the request structure. Results will vary depending on your data.
itemSuppliers=[
{
"IsDefault": true,
"Supplier": "sample string 2",
"SupplierID": "35983437-ac7f-43cd-86d0-542bed647e1d",
"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": "2bc102bb-7c6e-4f34-a6d0-7fe78ff2dd73",
"StockItemIntId": 16
}
]
This is an example of the response JSON. Results will vary depending on your data.