---
title: "Update a product"
method: PUT
path: "/products/{id}"
tags: ["products"]
---

# Update a product

`PUT /products/{id}`

Update a product

## Path parameters

- `id` string, uuid, required

## Request body

- DtoCreateProductInput
  - `name` string
  - `price` number

## Response `200`

OK

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/devfullcycle/apis/go-expert-api-example.md) · [All operations](https://skmtc.dev/devfullcycle/apis/go-expert-api-example/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devfullcycle/go-expert-api-example/revisions/10c64baf7689/schema)
