Skip to main content
MUTATION
ConvertStockItemToStandardItem(request: ConvertStockItemToStandardItemCommandRequestInput!): ConvertStockItemToStandardItemCommandResponse!

Arguments

itemId
ID!

Unique ID of the converted item. Unchanged - a standard item keeps the ID it had as a stock item.

stockWrittenOff
Boolean!

Indicates whether physical warehouse stock was actually booked out as part of the conversion. True when the item held stock in a warehouse, false otherwise - which includes the case where writeOffExistingStock was true but the item held none, and the case where the item's only stock is a supplier's, because supplier stock is not booked out. The caller cannot derive this from the request alone.

Mutation
Variables
Response