---
title: "PUT /api/vital-types/{id}"
method: PUT
path: "/api/vital-types/{id}"
tags: ["VitalTypes"]
---

# PUT /api/vital-types/{id}

`PUT /api/vital-types/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateVitalTypeRequest
  - `code` string, nullable
  - `label` string, nullable
  - `unit` string, nullable
  - `color` string, nullable
  - `dataType` string, nullable
  - `minValue` union
    - number, double
    - string, double
  - `maxValue` union
    - number, double
    - string, double
  - `displayOrder` union
    - integer
    - string, int32
  - `isActive` boolean, nullable
  - `acknowledgeExamTemplateImpact` boolean, nullable — Caller has seen which exam templates bind this code and still wants to deactivate it. Only consulted when bool? UpdateVitalTypeRequest.IsActive is being flipped to false on a bound type; without it that request is a 409 carrying the template list.

## Response `200`

OK

- VitalTypeDetailDto
  - `id` string, required
  - `code` string, required
  - `label` string, required
  - `unit` string, nullable
  - `color` string, nullable
  - `dataType` string, required
  - `minValue` union
    - number, double
    - string, double
  - `maxValue` union
    - number, double
    - string, double
  - `displayOrder` union
    - integer
    - string, int32
  - `isActive` boolean
  - `isSystem` boolean — Seeded product type: not deletable; Code/DataType locked.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
