Delivery: prohibit acceptance [sandbox]
delivery_prohibit_order_acceptanceProhibit delivery service from accepting a parcel for an order, stopping processing. Part of parcel-cancellation flow.
Instructions
[SANDBOX] Prohibits the delivery service from accepting a parcel from the sender — the parcel will not be taken into processing. A step in the parcel-cancellation flow (pair with delivery_sandbox_cancel_parcel). Returns a success status. Implemented on the delivery-service side, for delivery-service PARTNERS only (a regular seller account gets 403/404).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Identifier of the order whose acceptance is prohibited. | |
| 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. |