{"ok":true,"commandType":"change-item-code","module":"Stock","mode":"write","summary":"Change an item code across linked stock records.","payloadSchema":{"oldItemCode":"required old value for oldItemCode","newItemCode":"required new value for newItemCode","validateOnly":"optional boolean; true runs this command as a no-change preflight and still requires Edit permission","confirm":"required true for an actual save; not required when validateOnly is true"},"examplePayload":{"oldItemCode":"OLD-ITEM","newItemCode":"NEW-ITEM","confirm":true},"examples":[{"oldItemCode":"OLD-ITEM","newItemCode":"NEW-ITEM","validateOnly":true}],"payloadEnums":{},"requiredPayloadFields":["oldItemCode","newItemCode"],"conditionalPayloadRules":{},"notes":"Cloud validates and queues this typed command; it does not perform accounting work. Set validateOnly:true for preflight, then use a distinct commandId for the actual save. Reuse an ID only for an identical request. Runtime availability is connector-specific and reported by read-change-code-capabilities.","nativePayload":{"commandType":"change-item-code","title":"Change an item code across linked stock records.","description":"Static cloud payload schema. It does not assert that the installed connector supports this native operation.","supported":true,"schemaOnly":true,"runtimeAvailability":"read-change-code-capabilities","required":["oldItemCode","newItemCode"],"fields":{"oldItemCode":{"type":"string","required":true,"description":"required old value for oldItemCode"},"newItemCode":{"type":"string","required":true,"description":"required new value for newItemCode"}},"example":{"oldItemCode":"OLD-ITEM","newItemCode":"NEW-ITEM"},"notes":["supported indicates that this payload schema is available, not that the installed connector has the native SDK operation."]}}