alopeyk_finish_order
Finish a delivery order and optionally add a comment and rate the courier.
Instructions
Finish/close an order, optionally rating it — WARNING: 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 POST /api/v2/orders/{id}/finish with body
{comment, rate}.
Args: order_id: Numeric id of the order to finish. comment: Optional free-text comment about the delivery. rate: Optional courier rating (typically 1-5). instance: Configured instance to use (default when omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| comment | No | ||
| rate | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||