---
title: "Update document"
method: PATCH
path: "/owners/{ownerId}/documents/{documentId}"
tags: ["Owners Documents"]
---

# Update document

`PATCH /owners/{ownerId}/documents/{documentId}`

Update document (supports partial update)

## Path parameters

- `ownerId` string, required
- `documentId` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `type` 'DOCUMENT' | 'CONTRACT' | 'OWNER1099_COPYB' | 'OWNER1099_COPY2'
  - `isShared` boolean
  - `startDate` string, date-time — Date in YYYY-MM-DD format
  - `endDate` string, date-time — Date in YYYY-MM-DD format

## Response `200`

- object
  - `_id` string, required
  - `accountId` string, required
  - `ownerId` string, required
  - `originalFileName` string, required
  - `name` string, required
  - `description` string
  - `type` 'DOCUMENT' | 'CONTRACT' | 'OWNER1099_COPYB' | 'OWNER1099_COPY2', required
  - `isShared` boolean, required — Document is visible to owner in Owners Portal
  - `startDate` string — Document effective date in YYYY-MM-DD format
  - `endDate` string — Document expiration date in YYYY-MM-DD format
  - `createdAt` string, date-time, required
  - `deletedAt` string, date-time

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
