Updating Data

Update Records by Matching Field Values

This endpoint updates one or more records in a bloc by matching exact field-value pairs.

POST https://example.mydomain.com/api/update-records-by-matching-values


Request Body

Name
Type
Description

blocId*

string

The ID of the bloc to update. This may be a UUID or numeric ID depending on your instance.

fieldsToUpdate*

object

Field slugs and the values to apply to matching records. Example: { "employee_name": "Jane Doe", "status": "Complete" }

searchItems*

object

Field slugs and exact values used to find records to update. Example: { "employee_id": "5830" }


Matching Behavior

  • Matching uses exact key/value equality

  • All matching records are updated

  • If no records match, the request still succeeds and returns an empty array of updated IDs


200 Success Response

Records Updated

No Matching Records


Error Responses

400 Bad Request

Returned when required request fields are missing.

Additional validation failures may return a message field instead of error, depending on the failure path.

401 Unauthorized


Example Requests

cURL

JavaScript

Node.js

Python

Last updated