---
title: "Adds a list of items to the registry or updates the existing items."
method: PUT
path: "/items"
tags: ["items"]
---

# Adds a list of items to the registry or updates the existing items.

`PUT /items`

## Request body

- GroupItemDTO[]
  - `type` string
  - `name` string
  - `label` string
  - `category` string
  - `tags` string[]
  - `groupNames` string[]
  - `groupType` string
  - `function` GroupFunctionDTO
    - `name` string
    - `params` string[]

## Response `200`

OK

## Other responses

- `400` — Payload is invalid.

---

[API](https://skmtc.net/openhab/apis/openhab-rest-api.md) · [All operations](https://skmtc.net/openhab/apis/openhab-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openhab/openhab-rest-api/versions/0f2ce17cab3e/schema)
