You can cancel an order with VTEX in three different ways:
- Through the Orders module in VTEX Admin.
- Through API.
- Following the customer's request.
Once an order is canceled, you cannot change its status. Orders that have invoiced status can not be canceled.
Orders with partial invoices cannot be canceled. If the customer wants to replace or remove items from the order, it is possible to change the order.
Cancellation through Orders module
- In the VTEX Admin, go to Orders > All Orders, or type All Orders in the search bar at the top of the page.
- Click the desired order.
- On the top bar, click
Cancel order
. - Click
Confirm
.
- When the order is in
Ready for handling
orPreparing Delivery
status, cancellation must be done twice. When you first click Cancel, the status changes toCancellation requested
. - When the order is already in the
Cancellation requested
status, simply click Cancel again to change the order toCanceled
. - To continue with this order, simply enter the invoice.
Cancellation through API Rest
You can cancel through your ERP using the Cancel order API.
Check out our ERP integration guide for the full walkthrough.
Cancellation requested by the customer
The customer can request the cancellation of the order through the My orders screen.
If the customer requests cancellation within the grace period of the order, which is configurable, the store does not need to approve cancellation. It is considered that the picking, packing and delivery flow has not yet started, so the cancellation would not bring any burden to the store.
After the grace period, it is understood that the store is already acting on the order. In such case, the store must confirm the cancellation request.
Check out our article customer requested full cancellation.