---
title: "PATCH /api/v1/items/{id}"
method: PATCH
path: "/api/v1/items/{id}"
---

# PATCH /api/v1/items/{id}

`PATCH /api/v1/items/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `type` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC'
  - `name` string

## Response `200`

Item

- object
  - `id` string, required
  - `type` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC', required
  - `name` string, required
  - `createdAt` string, date-time, required

## Changes

- **2023-05-07** `a6c1a3cb9b42` — 2 info
  - the request property `name` became optional
  - the request property `type` became optional
- **2023-05-07** `90df74f89a5e` — 1 info
  - added the required property `createdAt` to the response with the `200` status
- **2023-05-07** `cc660ba01149` — 1 breaking, 1 info
  - added the new required request property `type`
  - added the required property `type` to the response with the `200` status
- **2023-05-07** `e7070ead1fbb` — 4 breaking, 15 warning, 1 info
  - the request property `name` became required
  - the `id` response's property type/format changed from `string`/`uuid` to `string`/`` for status `200`
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `type` from the response with the `200` status
  - …16 more

[Change history](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file/changes/api/v1/items/:id/patch.md)

---

[API](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file.md) · [All operations](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ogen-go/generated-openapi-specification-from-proto-file/revisions/39c8e4fc5bce/schema)
