Input objects
ChangeStockItemCommandRequestInput
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//stock-items/convert to turn a standard item into one first. - Request
input
ChangeStockItemCommandRequestInputFields
itemId
ID!
required
Unique ID of the stock item whose stock management configuration is updated.
stockManagement
The stock management settings to change. Omitted settings keep their current value.
idempotencyKey
String
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?