Skip to main content

Update

Request

HTTP MethodPUT, PATCH
Path/resource/{resource_id}
BodyJSON, Multipart File

Put

Put is an update behavior that will update all fields on a resource. All the resource fields must be send to the JSON body. If a resource has PUT label, then it’s update behavior is put.

Patch

Patch is an update behavior that can do partial field update. We can send only the changed fields to the back-end. To perform a patch, do a HTTP request with PATCH method and send the changed fields and it’s value to the JSON body. If a resource has PATCH label, then it’s update behavior is patch.

Success Response

The status code is 200 and has no body response.