alonomic_cancel_parcel
Cancel a parcel before pickup to prevent it from being delivered.
Instructions
Cancel a parcel before pickup — WARNING: changes a real parcel.
Persian purpose: لغو یک مرسوله پیش از جمعآوری. Requires Alonomic
credentials AND enable_ordering=true (and read_only=false);
otherwise it returns {"error": "ordering_disabled", ...} without
contacting the API. Maps to DELETE /business-service/api/v1/parcels/{id} (HTTP 204 on success).
Args: parcel_id: Numeric id of the parcel to cancel. instance: Configured instance to use (default when omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parcel_id | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||