Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "a6504f3d-4e2e-45de-8b2c-b81d082c45fe",
    "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": "57e7e050-d199-49a0-818e-b547869e1e44",
    "StockItemIntId": 16
  }
]

Response

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