Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /CreateStockSupplierStat

Allows 150 calls per minute

Response: Void



Use this call to create item supplier stat

Parameters

NameTypeDescription
itemSuppliersList<StockItemSupplierStat>List of StockItemSupplierStat

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/CreateStockSupplierStat

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

itemSuppliers=[
  {
    "IsDefault": true,
    "Supplier": "sample string 2",
    "SupplierID": "441125a3-fe47-4d63-a987-2e28903952ab",
    "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": "6b600f48-64c3-4233-9313-6bef5fd37e00",
    "StockItemIntId": 16
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.