Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "a07592b7-87a4-4eca-8226-5bdae87ebafe",
        "Type": "sample string 2",
        "LowerBound": 3,
        "Value": 4.1
      }
    ],
    "pkRowId": "5a65c945-a935-4f2a-8f09-09429df3ae65",
    "Source": "sample string 2",
    "SubSource": "sample string 3",
    "Price": 4.1,
    "Tag": "sample string 5",
    "UpdateStatus": 0,
    "StockItemId": "5718cb6a-83b4-4e86-bd7f-06466ffa20a6",
    "StockItemIntId": 2
  }
]

Response

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

null