---
title: "UpdateStockLevelsBySKU"
method: POST
path: "/api/Stock/UpdateStockLevelsBySKU"
tags: ["Stock"]
---

# UpdateStockLevelsBySKU

`POST /api/Stock/UpdateStockLevelsBySKU`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/Stock/UpdateStockLevelsBySKU`
- Auth: API key in header `Authorization`

Change the stock level of a list of stock items by the provided value
<b>Permissions Required: </b> GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockLevelsNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- StockUpdateStockLevelsBySKURequest
  - `stockLevels` StockLevelUpdate[]: The new stock items levels to adjust
    - `SKU` string
    - `LocationId` string, uuid
    - `Level` integer
  - `changeSource` string

## Response `200`

OK

- StockItemLevel[]
  - `Location` InventoryStockLocation
    - `StockLocationId` string, uuid
    - `StockLocationIntId` integer
    - `LocationName` string
    - `LocationTag` string
    - `IsFulfillmentCenter` boolean
    - `IsWarehouseManaged` boolean
    - `BinRack` string
  - `StockLevel` integer: Stock level
  - `StockValue` number, double: Stock value
  - `MinimumLevel` integer: Minimum level
  - `InOrderBook` integer: Currently in open orders
  - `Due` integer: Due to come in purchase orders
  - `JIT` boolean: Stock Item Just In Time (JIT) status
  - `InOrders` integer: Currently in open orders
  - `Available` integer: StockLevel - InOrders
  - `UnitCost` number, double: if( Quantity == 0 ) dbo.StockItem.PurchasePrice Else CurrentStockValue / Quantity
  - `SKU` string: Product SKU
  - `AutoAdjust` boolean: If level is auto adjusted
  - `LastUpdateDate` string, date-time: Last time stock level was adjusted
  - `LastUpdateOperation` string: Name of last update operation
  - `rowid` string, uuid: dbo.StockLevel.rowid
  - `PendingUpdate` boolean: dbo.StockLevel.PendingUpdate
  - `StockItemPurchasePrice` number, double: Stock item purchase price. It's used to calculate UnitCost
  - `StockItemId` string, uuid: Stock Item Id
  - `StockItemIntId` integer: Stock Item interger Id

---

[API](https://skmtc.dev/linnworks/apis/stock-api.md) - [All operations](https://skmtc.dev/linnworks/apis/stock-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/stock-api/revisions/8b0b8312b9c4?raw)
