Orders > Orders > ordersCancel
POST:orders/cancel.json
Description
Cancel an order.
Permission bit: "orders.cancel"
Topic: Orders
Arguments
data: OrderCancel!
Main argument for mutations.
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Whether to archive order or not
Example: false
Whether to notify customer about order cancellation via email or not
Example: false
reason: OrderCancelReason
The reason why the order was canceled
refund: OrderRefund
Result
Preview (typescript)
Loading module