---
title: "PUT /api/v{version}/Product/{id}"
method: PUT
path: "/api/v{version}/Product/{id}"
tags: ["Product"]
---

# PUT /api/v{version}/Product/{id}

`PUT /api/v{version}/Product/{id}`

## Request

- Base URL: `https://api.tafrihan.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tafrihan.com/api/v{version}/Product/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tafrihan/apis/clean-architecture-tourleader-webapi/docs/api/v:version/Product/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required
- `version` string, required

## Request body

- UpdateProductCommand
  - `id` integer
  - `name` string, nullable
  - `description` string, nullable
  - `rate` number, double

## Response `200`

OK

---

[API](https://skmtc.dev/tafrihan/apis/clean-architecture-tourleader-webapi.md) - [All operations](https://skmtc.dev/tafrihan/apis/clean-architecture-tourleader-webapi/llms.txt) - [OpenAPI document](https://skmtc.dev/tafrihan/apis/clean-architecture-tourleader-webapi/revisions/2a28a2599955?raw)
