Delivery: push tracking event [sandbox]
delivery_trackingReport one parcel movement event to Avito, such as status transition from RECEIVED_AT_TRANSIT_TERMINAL to IN_TRANSIT. Intended for delivery service partners to log tracking updates.
Instructions
[SANDBOX] Appends one parcel tracking event to Avito on behalf of the delivery service; does not modify existing history — a single status transition (e.g. RECEIVED_AT_TRANSIT_TERMINAL → IN_TRANSIT). Use this to report movement as it happens; one call records one event, and events accumulate into the parcel history (not idempotent — re-sending logs a duplicate). Returns an empty 200 on success; a 4xx means the order/status pair was rejected. Comply with Avito's retry policy on 5xx. For delivery-service PARTNERS only (not regular sellers). Sibling tools: delivery_set_order_properties sets cost/parameters, delivery_change_parcels reschedules a parcel — this one only appends a status event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order identifier. | |
| avitoEventType | Yes | Event code on the Avito side. Example: RECEIVED_AT_TRANSIT_TERMINAL. | |
| avitoStatus | Yes | Parcel status. Enum: CONFIRMED | IN_TRANSIT | ON_DELIVERY | DELIVERED | IN_TRANSIT_RETURN | ON_DELIVERY_RETURN | RETURNED | LOST | DESTROYED. | |
| date | Yes | Event date and time in RFC 3339 format, UTC. | |
| location | Yes | Event locality in the nominative case. Example: Kazan. | |
| providerEventCode | Yes | Event code as defined by the delivery service. | |
| comment | No | Comment on the status (optional). | |
| options | No | Additional status options: parcel barcode, return numbers (optional). | |
| 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. |