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": "15685bf5-7235-4128-9017-9f96ff886cf9",
        "Type": "sample string 2",
        "LowerBound": 3,
        "Value": 4.1
      }
    ],
    "pkRowId": "e8c500be-d5b2-414c-a4a4-80d374983998",
    "Source": "sample string 2",
    "SubSource": "sample string 3",
    "Price": 4.1,
    "Tag": "sample string 5",
    "UpdateStatus": 0,
    "StockItemId": "6070493f-b5c2-47fc-9adf-767a7954e414",
    "StockItemIntId": 2
  }
]

Response

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

null