shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/replace-by-example { "collection": "products", "example" : { "a" : { "j" : 1 } }, "newValue" : {"foo" : "bar"}, "options": {"limit" : 3, "waitForSync": true }} HTTP/1.1 200 OK content-type: application/json; charset=utf-8 { "replaced" : 1, "error" : false, "code" : 200 }