---
title: "Finalize attachment"
method: PATCH
path: "/user/cases/{id}/attachments"
tags: ["user-cases"]
---

# Finalize attachment

`PATCH /user/cases/{id}/attachments`

Finalize an uploaded buyer case attachment.

This is step 2 of the buyer case attachment workflow.

Validation:
- `imageId` must match the expected case attachment URN.
- Upload must be completed (draft uploads are rejected).
- Case must belong to the authenticated user.

Responses:
- `400` for invalid IDs or incomplete uploads.
- `404` for missing/non-owned cases.
- Returns attachment metadata with a display-ready URL.

## Path parameters

- `id` string, required — Case ID

## Request body

- ImageUploadComplete — Image identifier to finalize upload
  - `id` string, required — Image identifier

## Response `200`

Attachment saved

- object
  - `url` string, uri, required
  - `party` 'SELLER' | 'BUYER' | 'SYSTEM', required
  - `createdAt` union, required
    - string, date-time
    - string, date-time

## Other responses

- `400` — Invalid image ID
- `404` — Case not found

---

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