---
title: "Update audio metadata"
method: PATCH
path: "/api/products/{productId}/audios/{id}"
tags: ["Products / Audios"]
---

# Update audio metadata

`PATCH /api/products/{productId}/audios/{id}`

## Request

- Base URL: `https://api.payware.eu`
- URL: `https://api.payware.eu/api/products/{productId}/audios/{id}`
- Auth: HTTP bearer

Updates the metadata (title, product assignment) of an existing audio soundbite

## Path parameters

- `productId` string, required
- `id` integer, required

## Request body

- AudioRequest
  - `id` integer
  - `productId` string
  - `title` string
  - `folderId` string
  - `audioId` string
  - `status` string
  - `duration` number, double
  - `uploadedAt` string

## Response `200`

Audio updated successfully

## Other responses

- `400`: Invalid audio data
- `401`: Unauthorized
- `403`: Forbidden - the caller is authenticated but not permitted (plan or capability gate, KYC state, or tenant scope)
- `404`: Audio not found
- `429`: Too many requests - the caller exceeded its per-partner rate limit. Carries errorCode ERR_RATE_LIMIT_EXCEEDED and a Retry-After header, in seconds. The request was not processed, so the identical request is safe to retry once the window has passed.
- `500`: Internal server error

---

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