Cancel order
easystore_cancel_orderWRITE, hard to undo. Cancel an order, with an optional reason. Confirm the order id and number with the user first. Needs write_orders. POST /api/3.0/orders/{id}/cancel.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why the order is cancelled, e.g. Damaged item. | |
| order_id | Yes | EasyStore order id (not the order number). |