# PATCH /reputation/reviews/:id

**Resource:** [Reputation](./reputation.md)  
**Scopes:** `reputation:write`  
**Write operation:** yes

Update a reputation review. Accepts all writable fields. Setting vendor_response auto-stamps vendor_response_by and vendor_response_at. Use reviewer_company_logo and reviewer_avatar to attach images uploaded via public-image-upload.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | string | yes | Review UUID |
| `reviewer_name` | body | string | no | Reviewer full name |
| `reviewer_company` | body | string | no | Reviewer company name |
| `reviewer_company_logo` | body | string | no | URL of reviewer company logo (from public-image-upload) |
| `reviewer_role` | body | string | no | Reviewer job title |
| `reviewer_avatar` | body | string | no | URL of reviewer headshot (from public-image-upload) |
| `reviewer_linkedin_url` | body | string | no | LinkedIn profile URL |
| `reviewer_linkedin_verified` | body | boolean | no | LinkedIn identity verified |
| `reviewer_company_size` | body | string | no | 1-10 \| 11-50 \| 51-200 \| 201-1000 \| 1000+ |
| `reviewer_industry` | body | string | no | Reviewer industry |
| `rating` | body | number | no | 1-5 |
| `testimonial_text` | body | string | no | Review text |
| `vendor_response` | body | string | no | Public vendor reply to this review. Auto-stamps vendor_response_at. |
| `featured` | body | boolean | no | Pin to featured slot on public profile |
| `service_category` | body | string | no | Service category label |
| `engagement_type` | body | string | no | project \| retainer \| one-off \| trial |
| `engagement_value_band` | body | string | no | <5k \| 5-25k \| 25-100k \| 100k+ |

## Request example

```bash
curl -X PATCH https://ucqwijexmjctglmrxlej.supabase.co/functions/v1/api/v1/reputation/reviews/e14dad66-b422-42d4-a636-cd17af1c9970 \
  -H "Authorization: Bearer tp_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "reviewer_company_logo": "https://trustpager.net/uploads/reputation-reviewer-logo/abc123.png",
    "reviewer_linkedin_verified": true,
    "reviewer_company_size": "51-200",
    "reviewer_industry": "Technology",
    "vendor_response": "Thank you Sarah -- it was a pleasure working with your team.",
    "featured": true
  }'
```

## Response example

```json
{
  "data": {
    "id": "e14dad66-b422-42d4-a636-cd17af1c9970",
    "reviewer_company_logo": "https://trustpager.net/uploads/reputation-reviewer-logo/abc123.png",
    "reviewer_linkedin_verified": true,
    "reviewer_company_size": "51-200",
    "reviewer_industry": "Technology",
    "vendor_response": "Thank you Sarah -- it was a pleasure working with your team.",
    "vendor_response_at": "2026-04-24T00:00:00.000Z",
    "featured": true,
    "status": "draft"
  },
  "meta": { "credits_remaining": 4497 }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`