{"ok":true,"commandType":"change-location","module":"Stock","mode":"write","summary":"Change a stock location ID.","payloadSchema":{"oldLocationID":"required old value for oldLocationID","newLocationID":"required new value for newLocationID","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":{"oldLocationID":"OLD-LOC","newLocationID":"NEW-LOC","confirm":true},"examples":[{"oldLocationID":"OLD-LOC","newLocationID":"NEW-LOC","validateOnly":true}],"payloadEnums":{},"requiredPayloadFields":["oldLocationID","newLocationID"],"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-location","title":"Change a stock location ID.","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":["oldLocationID","newLocationID"],"fields":{"oldLocationID":{"type":"string","required":true,"description":"required old value for oldLocationID"},"newLocationID":{"type":"string","required":true,"description":"required new value for newLocationID"}},"example":{"oldLocationID":"OLD-LOC","newLocationID":"NEW-LOC"},"notes":["supported indicates that this payload schema is available, not that the installed connector has the native SDK operation."]}}