---
title: "Update an existing surgery record."
method: PATCH
path: "/provider/partner-invisible/patients/{patient_id}/surgeries/{id}"
tags: ["Surgery"]
---

# Update an existing surgery record.

`PATCH /provider/partner-invisible/patients/{patient_id}/surgeries/{id}`

## Request

- Base URL: `https://api.sandbox.hint.com/api`
- URL: `https://api.sandbox.hint.com/api/provider/partner-invisible/patients/{patient_id}/surgeries/{id}`
- Auth: API key in header `AUTHORIZATION`

## Path parameters

- `patient_id` string, required
- `id` string, required

## Request body

- ProviderPatientsClinicalSurgeriesControllerUpdateBody
  - `name` string: Name of the surgery or procedure
  - `description` string: Additional details about the surgery
  - `date` string: Date of the surgery (YYYY-MM)
  - `integration_record_id` string
  - `integration_error_message` string
  - `integration_web_link` string

## Response `200`

Successful response

- PublicSurgeryBlueprintOne
  - `id` string
  - `created_at` string, date-time
  - `date` string
  - `description` string
  - `name` string
  - `patient` object
  - `updated_at` string, date-time

## Changes

- **2026-11-03** `c9bda0d2dd87`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hint/apis/partner-endpoints/changes/provider/partner-invisible/patients/:patient_id/surgeries/:id/patch.md)

---

[API](https://skmtc.dev/hint/apis/partner-endpoints.md) - [All operations](https://skmtc.dev/hint/apis/partner-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/hint/apis/partner-endpoints/revisions/c9bda0d2dd87?raw)
