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

# UpdateStockLevelsBulk

`POST /api/Stock/UpdateStockLevelsBulk`

## Request

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

Allows the change of non batched / composite stock levels in build. Accepts either StockItemId or SKU and Stock location name or id
<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

- UpdateStockLevelsBulkRequest
  - `Items` UpdateStockLevelsBulkRequestItem[]
    - `SKU` string: SKU - Optional if stock item id is provided
    - `StockItemId` string, uuid: StockItemId - Optional if stock SKU is provided, calls will be faster if this is provided.
    - `StockLocationName` string: Stock location name, optional if StockLocationId is provided.
    - `StockLocationId` string, uuid: Stock Location Id, optional if StockLocationName is provided, calls will be faster if this is provided.
    - `StockLevel` integer: StockLevel - Optional
    - `StockValue` number, double: StockValue - Optional, if unit cost is provided then value will be calculated from this, otherwise existing stock value or purchase price will be used.
    - `UnitCost` number, double: UnitCost - Optional, if stock value is provided then value will be calculated from this, otherwise existing stock value or purchase price will be used.
    - `Binrack` string: Binrack - Optional, if not provided or empty exisitng binrack will remain.
    - `MinimumLevel` integer: Minimum level - Optional
    - `RowIndex` integer: RowIndex - Optional, can be used to marry up request items with response items.

## Response `200`

OK

- UpdateStockLevelsBulkResponse
  - `Items` UpdateStockLevelsBulkResponseItem[]
    - `Errors` string[]: Errors assocaited with request item.
    - `SKU` string: SKU - Optional if stock item id is provided
    - `StockItemId` string, uuid: StockItemId - Optional if stock SKU is provided, calls will be faster if this is provided.
    - `StockLocationName` string: Stock location name, optional if StockLocationId is provided.
    - `StockLocationId` string, uuid: Stock Location Id, optional if StockLocationName is provided, calls will be faster if this is provided.
    - `StockLevel` integer: StockLevel - Optional
    - `StockValue` number, double: StockValue - Optional, if unit cost is provided then value will be calculated from this, otherwise existing stock value or purchase price will be used.
    - `UnitCost` number, double: UnitCost - Optional, if stock value is provided then value will be calculated from this, otherwise existing stock value or purchase price will be used.
    - `Binrack` string: Binrack - Optional, if not provided or empty exisitng binrack will remain.
    - `MinimumLevel` integer: Minimum level - Optional
    - `RowIndex` integer: RowIndex - Optional, can be used to marry up request items with response items.

---

[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)
