Cancel order
o2c_cancel_orderCancel an order that has not shipped. Once anything has shipped the order cannot be cancelled — bill it and issue a credit instead. Cancellation is not a way to make a mistake disappear; the order stays visible as cancelled. Effects: order.status -> cancelled; committed value released.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why it was cancelled. Kept as pattern memory. | |
| order_id | Yes | The order. An existing order id. |