What’s the difference between Edit Record and Patch Record?
- Edit Record is best used when you have a static expectation for which fields need to be updated when the function is executed. For example, maybe you have an endpoint specifically to allow a user to update their password. Edit Record would make sense here, because you would not be changing any other information.
- Patch Record is best used when you have an endpoint that can update multiple fields, but may not always need to do so. Something like a user submitting a collection of edits to their user profile would fall under this example.

Please be aware that Patch will write every field provided in the JSON object to the record, even blank and null values. The JSON object used for Patch should only provide the fields you want to update, and nothing more. Providing empty or null values unintentionally can result in data loss.
Some frontends will always send empty or null values regardless of what data points are actually defined.To make Patch work as it is normally expected, you’ll want to leverage filters like:
-
filter_null
to remove null values -
filter_empty_text
to remove empty text strings
- Get All Raw Input provides a JSON object of all of the input fields passed to the API.
- We can then provide the output of this function to Patch Record, giving us an easy and fast method of building a flexible endpoint for editing records.

