---
title: "Update mutable fields (description) on a referral document"
method: PATCH
path: "/Referrals/{id}/documents/{documentId}"
tags: ["Referrals"]
---

# Update mutable fields (description) on a referral document

`PATCH /Referrals/{id}/documents/{documentId}`

## Path parameters

- `id` string, required
- `documentId` string, required

## Request body

- UpdateReferralDocumentRequest
  - `description` string, nullable

## Response `200`

OK

- ReferralDocumentDto
  - `id` string
  - `referralId` string
  - `documentType` string
  - `fileName` string
  - `description` string, nullable
  - `fileUrl` string, nullable
  - `fileSizeBytes` union
    - integer
    - string, int64
  - `mimeType` string, nullable
  - `uploadedById` string
  - `uploadedBy` ReferralUserSummaryDto
    - `id` string
    - `name` string
    - `role` string, nullable
  - `uploadedAt` string, date-time
  - `isSent` boolean
  - `sentAt` string, date-time, nullable
  - `createdAt` string, date-time

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
