# Write many rows' cells at once

Merge cells into many rows of one board in a single request — the batch form of PATCH /v1/boards/:id/rows/:rowId, and what a grid paste, fill-down or cleared selection sends. Body is {rows: [{id, cells: {columnId: text}}]}, at most 1000 rows; each row is merged, so a column a row leaves out keeps what it had. Answers {updated, failed: [{id, error}]} — a row the rules refuse fails alone and the rest still land.

Access class: `board:write`.

## Endpoint

`PATCH /v1/boards/{id}/cells`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "rows": [
      {
        "cells": {},
        "id": ""
      }
    ]
  },
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "failed": [
      {
        "error": "string",
        "id": ""
      }
    ],
    "updated": 1.5
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
