---
title: "Update item audio rank"
method: PUT
path: "/api/item-audio/{id}"
tags: ["Item Audio"]
---

# Update item audio rank

`PUT /api/item-audio/{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-audio/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/item-audio/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Sets the rank of an audio creative

## Path parameters

- `id` integer, required

## Request body

- ItemAudioUpdateRequest
  - `rank` 1 | 3 | 5 | 10 | 20, required

## Response `200`

The updated item audio.

- ItemAudio
  - `id` integer
  - `audio_id` integer
  - `item_value_id` integer
  - `rank` integer, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `403`: The user cannot rank creatives.
- `404`: Item audio not found.
- `422`: Invalid rank.

---

[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)
