Update Requests

When updating an object you use the update request header with the list of properties to update. Then you need only supply the new values in the body of your request. Please note, this header canonly be used with PUT or PATCH requests.

Update Request

The update request filter is a comma separated array that lists the properties to update. Here is an example:

Update Body

The update body contains the new values for the properties.

Putting It All Together

Building on our knowledge of GET requests we note the following differences:

  • Use PATCH or PUT
  • Set request header UpdateRequest to the list of properties to change
  • Include the updated properties in the body of the request

The resulting XHR code snippet: