Change a draft case
evictions_update_caseUse this when a draft’s facts need correcting or completing, for example after evictions_validate_case says what is missing. Input: the case id and only the fields to change; each one replaces the stored value, and an object such as property is replaced whole. Works only on a draft, and ground and entryPoint cannot change (create a new case instead). Do not use this on a submitted case (use evictions_send_case_message to tell the team what changed). The result is the case, with state and nextAction (who it is waiting on and for what). Next: evictions_validate_case. Needs the person’s account: sign-in or an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The case id (case_...), as returned by evictions_create_case or evictions_list_cases. | |
| lease | No | The lease, when there is one. | |
| ground | No | Why the case is brought: nonpayment of rent, a lease violation, or holdover (the tenant stayed after the lease ended). Cannot be changed later. | |
| ledger | No | Rent charges and payments, for a nonpayment case. | |
| parties | No | The plaintiff (the owner or manager) and each defendant (tenant). | |
| freeText | No | Anything else the attorney should know. | |
| property | No | The rental property and its owner of record. | |
| violation | No | For a lease violation case. | |
| entryPoint | No | Where the case starts: `notice` (a notice to the tenant comes first), or `filing` when a notice was already served (then give `priorNotice`). Cannot be changed later. | |
| priorNotice | No | The notice already served, for a case that starts at filing. | |
| attestations | No | The person’s own statements about the case. Ask the person for each one; never fill them in yourself. | |
| amountOwedCents | No | The total the tenant owes now, in US cents (150000 is $1,500.00). |