---
title: "Update an item value"
method: PUT
path: "/api/item-value/{id}"
tags: ["Item Value"]
---

# Update an item value

`PUT /api/item-value/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/item-value/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/item-value/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates an item value with new item association, description, frequency, value, images, and videos

## Path parameters

- `id` string, required

## Request body

- ItemValueUpdateRequest
  - `item_id` string
  - `audit_id` string
  - `description` string
  - `frequency` string
  - `value` string
  - `item_images` string
  - `item_videos` string

## Response `200`

Item Value that was changed.

- ItemValueUpdateResource
  - `id` integer
  - `item_id` integer
  - `audit_id` integer
  - `value` integer
  - `social_media_type` integer
  - `social_media_value` string
  - `frequency` integer
  - `description` string
  - `detection_confidence` number, float, nullable: Detector's 0-1 score; null when nothing scored this row.
  - `retained_at` string, date-time
  - `issued_at` string, date-time
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `item_images` ItemImage[]
    - `id` integer
    - `image_id` integer
    - `item_value_id` integer
    - `rank` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `item_videos` ItemVideo[]
    - `id` integer
    - `video_id` integer
    - `item_value_id` integer
    - `rank` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `item_audios` ItemAudio[]
    - `id` integer
    - `audio_id` integer
    - `item_value_id` integer
    - `rank` integer, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
