shell> curl -X PUT --header 'If-Match: "10422"' --data-binary @- --dump - http://localhost:8529/_api/document/products/10418 <<EOF {"other":"content"} EOF HTTP/1.1 412 Precondition Failed etag: "10418" content-type: application/json; charset=utf-8 { "_id" : "products/10418", "_key" : "10418", "_rev" : "10418", "code" : 412, "error" : true, "errorMessage" : "precondition failed", "errorNum" : 1200 }