Skip to main content
inputConvertStockItemToStandardItemCommandRequestInput

Fields

itemId
ID!
required

Unique ID of the stock item that is converted back into a standard item.

writeOffExistingStock
Boolean

Determines what happens when the item still has stock. When false or omitted, the conversion is rejected with HTTP 409 and the stock is left untouched. When true, the existing stock is written off as part of the conversion. Defaults to false, so stock is never written off implicitly.

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.