Skip to main content

How to "skip" changes in PATCH http request for update a record?

  • September 5, 2022
  • 1 reply
  • 0 views

Forum|alt.badge.img+9

I have a body like this

{
“records”: [
{
“id”: “reccsfBOAsOX5nigv”,
“fields”: {
“test”: 123
}
}
]
}

How can i skip the “test” (currency type) field? The idea is that i have a condition that shall be met. If not, then do not change the “test” field.

Thank you

kuovonne
Forum|alt.badge.img+27
  • Brainy
  • September 5, 2022

A patch request will only update the fields that you include in the request. If you don’t want a field updates, don’t include it in the request.


Reply