UpdateRowsData

Outcome of an Update Rows batch.

Properties

updated_countintegerrequired

Number of rows updated. Equals `rows.length`.

rowsarray ofrequired

Updated rows, in request order. Pass the `row_id`s to Run Rows to recompute results from the new values.

row_idstring <uuid>required
fieldsobjectrequired

The fields you sent, as stored: text, keyed by input field name.

rejectedarray ofrequired

Rows not updated, in request order. Nothing on them was written.

Example

UpdateRowsData example
{
  "updated_count": 0,
  "rows": [
    {
      "row_id": "00000000-0000-0000-0000-000000000000",
      "fields": {}
    }
  ],
  "rejected": [
    {
      "row_id": "string",
      "errors": [
        {
          "field": "string",
          "code": "malformed_row_id",
          "message": "string"
        }
      ]
    }
  ]
}