PUT
is used to update a resource entirely.
PATCH
partially updates the resource.
With PUT
, you replace the entire resource with a new version, regardless of how many fields you provide.
In contrast, PATCH
applies a partial update, only modifying the fields specified in the request.