⚠️ Apply VAS package
items_put_item_vas_package_v2Applies a pre-assembled VAS package to a listing. Check price via items_post_vas_prices before use. Charges balance irreversibly; response shows charged amount.
Instructions
Applies a PACKAGE of promotion services (VAS) to a listing (put_item_vas_package_v2). ⚠️ MONEY: charges money from the balance; irreversible. The response contains the charged amount. Unlike items_put_item_vas (a single service by slug) and items_apply_vas (an arbitrary set of services/stickers), this method purchases a pre-assembled package by its package_id. DEPRECATED, the recommended replacement is items_apply_vas (v2). First check the price via items_post_vas_prices and confirm with the user. An error does not guarantee the package was not purchased — check again in a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ID of the listing the service package is applied to. | |
| package_id | Yes | Identifier of the VAS service package (available packages are in the items_post_vas_prices response). | |
| user_id | No | ID of the owner user. Defaults to Profile_id from .env. | |
| dryRun | No | v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false). | |
| idempotencyKey | No | v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design. |