Update Items
item.update_manyUpdate a LISTED set of rows (by id) in one sheet in ONE call — use it instead of repeated item.update_humanized whenever you change more than one row. Each row is { itemId, fields }; only the given fields change and values are HUMAN VALUES resolved as in item.update_humanized. Up to 200 rows per call. Rows that are not in the sheet, archived, read-only or have an unresolvable value are skipped with a reason and never changed; the rest are updated. Workflows on the sheet run for every updated row, as for an edit by hand. The whole call is one batch: item.undo_batch with the returned batchId and sheetId restores the previous values. Returns { batchId, updated, skipped, skippedCount, url } — tell the user the counts and the skip reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | The rows to change, 1–200, each by id with only the fields that change | |
| sheetId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Panel link to the sheet | |
| batchId | Yes | Id of the batch; pass it with sheetId to item.undo_batch to undo the whole batch. Null when nothing was written | |
| created | Yes | Rows created | |
| sheetId | Yes | Sheet the rows are in | |
| skipped | Yes | Rows left unchanged and why; at most 20 are listed | |
| spaceId | Yes | Space of that sheet; null for a sheet outside a space | |
| stopped | No | Set when a row failed unexpectedly: rows after it were not attempted; the rest stay written | |
| updated | Yes | Rows updated | |
| skippedCount | Yes | All rows skipped, including ones not listed |