---
title: "Replace inventory item"
method: PUT
path: "/v1/InventoryItem/{id}"
tags: ["InventoryItem"]
---

# Replace inventory item

`PUT /v1/InventoryItem/{id}`

Replace an existing inventory item.

## Path parameters

- `id` integer, required

## Request body

- RevAppModelsInventoryItem
  - `inventory_item_id` integer — Primary identifier for this inventory item.
  - `inventory_type_id` integer — Primary identifier for the type of inventory this item is.
  - `identifier` string — Associated string identifier for the inventory item.
  - `customer_id` integer — Foreign identifier for the customer associated with the inventory item.
  - `created_date` string, date-time — The date that the inventory item was created in the system.
  - `created_by` integer — The foreign identifier of the user that created the inventory item.
  - `status` 'AVAILABLE' | 'UNAVAILABLE' | 'ASSIGNED' — Status of the inventory item.
  - `inventory_item_unavailable_reason_id` integer — Foreign identifier indicating the unavailable reason of this inventory item.
  - `note` string — Comments or notes about the inventory item for internal use.
  - `fields` RevAppModelsFieldValue[]
    - `field_id` integer — Primary identifier for this custom field.
    - `label` string — User-defined identifier representing the custom field.
    - `value` string — Value of the custom field.
    - `links` RevAppComponentsLink[]
      - `rel` string
      - `href` string
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Response `200`

OK

- RevWebAPIModelsSuccess
  - `ok` boolean

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
