⚠️ Apply VAS
items_put_item_vasApply a single promotion service to a listing. Choose from options like highlight, XL, premium, or VIP. Charges your balance and is irreversible.
Instructions
Applies ONE additional promotion service (VAS) to a listing (put_item_vas). ⚠️ MONEY: charges money from the balance; irreversible. The response contains service data and the charged amount. DEPRECATED: for one or more services, prefer items_apply_vas (v2); for a package of services, use items_put_item_vas_package_v2. First call items_post_vas_prices for the current slug and price. Confirm with the user. Note: an error does not guarantee the service was not purchased — check again in a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ID of the listing the service is applied to. | |
| vas_id | Yes | Slug of a single VAS service, e.g. "highlight", "xl", "premium", "vip" (find available ones via items_post_vas_prices). | |
| 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. |