Delivery: delivery-term zones [sandbox]
delivery_update_termsUpdate delivery-term zones in a tariff, returning a task ID. New zones must exactly match the tariff's delivery provider zone IDs.
Instructions
[SANDBOX] Creates a task to update the delivery-term zones in a tariff; returns a taskID — status via delivery_get_task. Important: the list of new terms must fully match the tariff's deliveryProviderZoneId values. For delivery-service partners only. The body is an array of zones directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tariff_id | Yes | Tariff identifier (in path). | |
| zones | Yes | Array of delivery-term zones: deliveryProviderZoneId, name, minTerm/maxTerm (business days). | |
| 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. |