The PUT operation is meant to replace the entire resource instance (the content of all the fields), and the PATCH operation is meant to replace just selected fields of the resource instance.
To put it diffirently, the PATCH operation is a partial PUT operation.
Our API currently allows you to replace just selected fields using the PUT operation, but in a future release this will change and the PUT operation will require that you supply values for all the fields (the same validation rules as for the POST operation that created the resource instance).
We strongly recommend that you use the PATCH operation if you want to update a subset of the fields of a resource.
Please note that the PATCH request must have a request header of CONTENT_TYPE:
application/merge-patch+json
.
Cannot find the answer to your question? Visit our support page for personalized support by our staff.