Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /UpdateInventoryItemPrices

Allows 250 calls per minute

Response: Task



Use this call to update stock item prices

Parameters

NameTypeDescription
inventoryItemPricesList<StockItemPrice>List of stock item prices to update

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

inventoryItemPrices=[
  {
    "Rules": [
      {
        "pkRowId": 1,
        "fkStockPricingId": "abfb1f0e-143e-4c09-a0b0-8d41374cb0be",
        "Type": "sample string 2",
        "LowerBound": 3,
        "Value": 4.1
      }
    ],
    "pkRowId": "4d38eb77-0bbc-4e61-aa62-d6b8587ada95",
    "Source": "sample string 2",
    "SubSource": "sample string 3",
    "Price": 4.1,
    "Tag": "sample string 5",
    "UpdateStatus": 0,
    "StockItemId": "784b135d-e8f6-4331-a622-00da8c7ba7b4",
    "StockItemIntId": 2
  }
]

Response

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

null