---
title: "Update offer"
method: PUT
path: "/api/v1/offer/{offer_id}"
tags: ["User Offers"]
---

# Update offer

`PUT /api/v1/offer/{offer_id}`

Update an existing offer.

## Path parameters

- `offer_id` string, uuid, required

## Request body

- OfferUpdateDTO — DTO for updating an existing offer.
  - `name` string, nullable — Name of the offer
  - `offerUrl` string, nullable — offer_url of the offer
  - `data` object, nullable — Arbitrary JSON data for the offer
  - `comment` string, nullable — Optional comment or description for the offer

## Response `200`

Successful Response

- OfferResponseDTO — DTO for offer response.
  - `id` string, uuid, required
  - `name` string, nullable, required
  - `offerUrl` string, required
  - `data` object, nullable, required
  - `comment` string, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, nullable, required
  - `userId` string, uuid, nullable, required
  - `owner` OwnerDTO
    - `ownerCompanyUserId` string, uuid, nullable
    - `email` string, email, required
    - `logoUrl` string, nullable

## Other responses

- `401` — Authentication required.
- `403` — Access denied.
- `404` — The requested resource was not found.
- `422` — Validation error. Please check your input.

---

[API](https://skmtc.dev/pwapps/apis/curie-api.md) · [All operations](https://skmtc.dev/pwapps/apis/curie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pwapps/curie-api/revisions/060ef67e573a/schema)
