alopeyk_cancel_order
Cancel an Alopeyk delivery order by providing the order ID and a comment explaining the cancellation reason.
Instructions
Cancel an order — WARNING: this changes a real delivery.
Persian purpose: لغو یک سفارش. On-Demand, requires an access_token AND
enable_ordering=true (and read_only=false); otherwise it returns
{"error": "ordering_disabled", ...} without contacting the API. Maps
to GET /api/v2/orders/{id}/cancel?comment=<c>.
Args: order_id: Numeric id of the order to cancel. comment: Reason / note for the cancellation (required by Alopeyk). instance: Configured instance to use (default when omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| comment | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||