How can I change document's version via an HTTP-request?
By using a PUT on the PWC entry URI, with parameter checkin=true. Please read the CMIS 1.0 spec, section 3.10.3.2, for more.
checkin=true