Delivery: delivery-term zones [sandbox]
delivery_update_termsCreates a task to update delivery-term zones in a tariff. Supply the full list of zones with matching provider zone IDs. Returns a taskID to track status via delivery_get_task.
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.
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": {
"tariff_id": "<tariff_id>",
"zones": "<zones>"
},
"name": "delivery_update_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| tariff_id | Yes | Tariff identifier (int32, in path); legacy decimal strings remain accepted. | |
| 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. Keys are stored as bounded SHA-256 fingerprints. |