> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ChangeStockItem

> Updates the stock management configuration of an existing stock item. Every field is optional - omitted fields keep their current value, and a request that supplies no setting at all succeeds with 200 without changing anything. The item must already be a stock item; use POST /v2/items/{itemId}/stock-items/convert to turn a standard item into one first.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `ChangeStockItem(request: ChangeStockItemCommandRequestInput!): ChangeStockItemCommandResponse!`

## Arguments

**`request`**: `ChangeStockItemCommandRequestInput!` (required)

## Returns

`ChangeStockItemCommandResponse!`

**`itemId`**: `ID!`

Unique ID of the updated stock item.

