# Update a review

**Publié le** : 2026-05-08
**Catégorie** : Forms & Reviews

## `PUT /reviews/:id`

**Update a review**

Updates a review's content, rating, author info, or status.

Required permissions: `reviews.update`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes | Unique identifier |


### Request Body

Content-Type: `application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authorName` | string | No | 2-100 characters |
| `authorEmail` | string \| null | No | Author email address |
| `authorPhotoUrl` | string \| null | No | Author photo URL |
| `authorCompany` | string \| null | No | Author company name |
| `authorPosition` | string \| null | No | Author job title |
| `authorCity` | string \| null | No | Author city |
| `rating` | number | No | Between 1 and 5 |
| `content` | string | No | Text content. 10-5000 characters |
| `title` | string \| null | No | Display title |
| `productName` | string \| null | No | Associated product name |
| `productSku` | string \| null | No | Associated product SKU |
| `customFields` | object | No | Custom field values |
| `status` | "pending" \| "approved" \| "rejected" | No | One of: pending, approved, rejected |
| `rejectionReason` | string \| null | No | Reason for rejection |
| `isFeatured` | boolean | No | Boolean |
| `reviewDate` | string \| null | No | Original review date (ISO 8601) |
| `displayOrder` | number | No | Number |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `404` | Not found |
| `422` | Validation error |


### Examples

```bash
curl -X PUT https://api.lynkow.com/v1/reviews/101 \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "approved",
    "isFeatured": true
  }'
```

### Response Example

```json
{
  "data": {
    "id": 101,
    "title": "Excellent platform",
    "content": "Lynkow made managing our website content incredibly easy.",
    "rating": 5,
    "status": "approved",
    "authorName": "Marie Dupont",
    "authorEmail": "marie@example.com",
    "isFeatured": true,
    "locale": "en",
    "createdAt": "2025-04-01T14:22:00.000Z",
    "updatedAt": "2025-04-06T12:00:00.000Z"
  }
}
```

---