---
title: "Update a case"
method: PATCH
path: "/cases/{case_id}"
tags: ["Cases"]
---

# Update a case

`PATCH /cases/{case_id}`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}`
- Auth: none declared

Partially update an existing case.

## Request body

- CaseUpdate
  - `queue_assignment` string
  - `flow_position` string
  - `estate_value` 'unknown' | 'under_25k' | '25k_to_100k' | '100k_to_500k' | '500k_to_1m' | 'over_1m'
  - `progress` 'no_clue' | 'just_started' | 'making_progress' | 'almost_done' | 'completed'
  - `possible_dispute` 'no_dispute_expected' | 'possible_dispute' | 'active_dispute'

## Response `200`

Case updated.

- object
  - `data` Case
    - `id` string
    - `onboarding_id` string
    - `queue_assignment` string, nullable
    - `flow_position` string
    - `estate_value` 'unknown' | 'under_25k' | '25k_to_100k' | '100k_to_500k' | '500k_to_1m' | 'over_1m'
    - `progress` 'no_clue' | 'just_started' | 'making_progress' | 'almost_done' | 'completed'
    - `possible_dispute` 'no_dispute_expected' | 'possible_dispute' | 'active_dispute'
    - `pending_searches` string[]
    - `date_of_sign_up` string, date-time
    - `terms_accepted_at` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `404`: Resource not found.
- `422`: Request validation failed.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
