payware_products_update_audio
Updates an audio title or transfers audio to another product in the same shop; requires a Premium plan.
Instructions
[Merchant] Update audio information (title) or reassign audio to another product. Premium (PRM) plan only: the server answers 403 on any other plan (for an ISV, the merchant's plan).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"audioId": "<audioId>"
},
"name": "payware_products_update_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New audio title | |
| audioId | Yes | Audio identifier | |
| partnerId | No | Merchant partner ID (uses PAYWARE_PARTNER_ID env var as default) | partner_12345 |
| productId | Yes | Current product identifier (starts with 'pr') | |
| privateKey | No | RSA private key for authentication (uses environment-specific private key as default) | |
| useSandbox | No | Use sandbox environment | |
| newProductId | No | Product to move the audio to (starts with 'pr'). Sent as a transfer, which keeps the fingerprint; the target must be in the same shop |