Delivery: cancel parcel [sandbox]
delivery_sandbox_cancel_parcelCancel a test parcel as the receiver in the Avito sandbox. Use for testing order cancellation flows with parcels created via delivery_create_sandbox_parcel_v2.
Instructions
[SANDBOX] Cancels a test parcel on behalf of the receiver (actor=receiver); returns a success status. Only parcels created via delivery_create_sandbox_parcel_v2 can be cancelled. Implemented on the delivery-service side, for delivery-service PARTNERS only. Unlike delivery_v1_cancel_parcel ([SANDBOX v1] with an options field), this is the base contract with an actor field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | The recipient initiates the cancellation. | |
| 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). | |
| parcelID | Yes | Identifier of the parcel to cancel (required). | |
| 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. |