Delivery: cancel parcel [sandbox]
delivery_sandbox_cancel_parcelCancel a test parcel in the sandbox environment as the receiver. Only parcels created with delivery_create_sandbox_parcel_v2 are eligible.
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 |
|---|---|---|---|
| parcelID | Yes | Identifier of the parcel to cancel (required). | |
| actor | Yes | Who initiates the cancellation. Enum: receiver (the recipient). | |
| 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. |