---
title: "Update file on offer V3"
method: PATCH
path: "/api/v3/offers/{id}/files/{fileId}"
tags: ["Offer"]
---

# Update file on offer V3

`PATCH /api/v3/offers/{id}/files/{fileId}`

This endpoint requires the following scopes: `offer:update`.

Update a file attached to an offer.

## Path parameters

- `id` string, required
- `fileId` string, required

## Request body

- object
  - `title` string — Title of the file
  - `description` string — Description of the file
  - `keyword` 'otherFile' | 'coverPage' | 'attachment' | 'eInvoice' | 'receipt' | 'paymentReceipt' — Document keyword/type
  - `sort` integer — Sorting of the file

## Response `204`

No Content

## Other responses

- `400` — Failed validation
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests

---

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