Make update request behavior consistant accross API endpoints
@jsurkont
Author:According to https://tools.ietf.org/html/rfc7231#section-4.3.4 PUT requests should replace the existing object with the object sent in the request. That means e.g. that fields missing in the request object should be removed from the existing object.
The PUT method requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload. A successful PUT of a given representation would suggest that a subsequent GET on that same target resource will result in an equivalent representation being sent in a 200 (OK) response.
Partial update should be handled with the PATCH request.
Make sure that the behavior is consistent across the API endpoints.
Edited by François Martin