Order → Cancel
AI-generatedSummary
Cancel an existing order in the Wix store by specifying its order ID, optionally sending a cancellation email to the buyer with a custom message and restocking the items.
Inputs
- Order (required) — The ID of the order to cancel. Choose from a searchable list of orders or enter an ID directly.
- Send Order Canceled Email — Boolean flag to send an email notification to the buyer about the order cancellation. Defaults to false.
- Custom Message — Optional custom message to include in the cancellation email sent to the buyer.
- Restock All Items — Boolean flag to restock all items from the cancelled order back into inventory. Defaults to false.
Output shape
a single record representing the cancelled order response object from the Wix API
The operation makes a POST request to /ecom/v1/orders/{orderId}/cancel and returns the API's response for the cancelled order. There is no pagination or multiple results.
Examples
Example 1: Cancel an order by selecting it from list, send cancellation email with a custom message, and restock items
Set 'Order' to an existing order via the list search, 'Send Order Canceled Email' to true, provide a 'Custom Message', and set 'Restock All Items' to true.