cancel_order
Cancel a submitted counter/dealer transfer order. Reverses the linked invoice, sales orders, shipment, and paid refunds; reason and confirmation are required.
Instructions
Cancel a submitted counter/dealer transfer order — the Pending Order page's Cancel Order action. Cascades safely: cancels the invoice (its hooks reverse the dispositions → stock back in → FastBound delete queued), cancels linked Sales Orders, voids the ShipStation order, and books a refund Payment Entry for whatever was actually paid (refund_mode/refund_reference when a refund is due). reason is required and recorded. confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| confirm | No | ||
| refund_mode | No | ||
| sales_invoice | Yes | ||
| refund_reference | No |