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

# SetStockLevel

`POST /api/Stock/SetStockLevel`

Set the stock level of a list of stock items identified by its SKU to the value provided
<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>250</b></span> / minute

## Request body

- StockSetStockLevelRequest
  - `stockLevels` StockLevelUpdate[] — The new stock items levels to set
    - `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.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/revisions/0123569a22fb/schema)
