## Update a quick reply

Scope: `imopenlines`. Writes require a write-enabled key. Bitrix24 checks user permissions.

### PATCH /v1/openline-configs/:lineId/quick-replies/:id

`PATCH /v1/openline-configs/:lineId/quick-replies/:id`

```json
{
  "text": "Welcome back"
}
```

`lineId` is the id from `/v1/openline-configs`. The B24 method is undocumented; shape measured on 2026-10-01. A reply id is checked against this line before PATCH or DELETE; replies from other lines are never changed.

`text` is required and cannot be empty. Optional `sectionId` is a non-negative integer; PATCH preserves an omitted section, explicit zero clears it. Bitrix24 generates the name from text, including on update; a custom name is not writable here. Returns the saved `{ id, name, text, sectionId, canEdit, rating }`.

## Example

```bash
curl -X PATCH "https://vibecode.bitrix24.com/v1/openline-configs/1/quick-replies/200" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Welcome back"}'
```

Response:

```json
{
  "success": true,
  "data": {
    "id": 200,
    "name": "Welcome back",
    "text": "Welcome back",
    "sectionId": 3,
    "canEdit": true,
    "rating": 0
  }
}
```

## Errors

`400 INVALID_PARAMS / INVALID_CHAT_ID / MISSING_REQUIRED_FIELDS`, `401 TOKEN_MISSING`, `403 SCOPE_DENIED / WRITE_BLOCKED_READONLY_KEY / BITRIX_ACCESS_DENIED`, `404 ENTITY_NOT_FOUND`, `422 BITRIX_ERROR`, `429`, `502 OPENLINE_OPERATOR_FAILED / BITRIX_UNAVAILABLE`, `503`.
