· DataEase · Tutorials · 2 min read
Bulk Delete Orders in Shopify
Important: Shopify does not allow deleting real/completed orders in bulk. You can bulk cancel them (which archives the orders). Actual deletion is only possible for Draft Orders.
DataEase provides two workflows: cancel/archive real orders, or permanently delete Draft Orders—both in bulk with validation.
🎯 Goal
Understand what you can and can’t remove in bulk: Shopify does not allow deleting real/completed orders. You can bulk cancel them (which archives the orders). Actual deletion is only possible for Draft Orders.
Option A — “Delete” Effect by Canceling (Archives Orders)
1. Export Orders
In DataEase, go to New Export → Orders. Include at least:
idname(order number)- Statuses
Use filters (date range, financial/fulfillment status) to target the set.
2. Prepare the File
Open the exported file in Excel or Google Sheets. For the rows you want archived:
- Add the column
action - Set it to CANCEL
When done, save the file as .xlsx or .csv.
3. Import & Validate
- In DataEase, start New Import → Orders
- Upload your edited file
- Map columns
- Run Validation
Fix any issues in the validation report.
4. Run the Import
After validation passes, click Run Import to cancel the orders in Shopify.
Once complete, confirm the selected orders are now archived (canceled).
Option B — Permanently Delete Draft Orders in Bulk
1. Export Draft Orders
In DataEase, go to New Export → DraftOrders. Include:
idname(optional)createdAt
2. Prepare the File
Open the exported file in Excel or Google Sheets:
- Keep only draft orders you want to remove
- Set
command= DELETE
When done, save the file as .xlsx or .csv.
3. Import & Validate
- In DataEase, start New Import → DraftOrders
- Upload your edited file
- Map columns
- Run Validation
4. Run the Import
After validation passes, click Run Import to delete the draft orders from Shopify.
Once complete, verify that the draft orders are gone.
📝 Important Notes
- Live orders cannot be deleted in Shopify (including via apps/API). Use CANCEL to archive them
- If you created test orders for QA, delete them individually in the Shopify Admin
- Consider compliance workflows (refunds, redaction/anonymization) if you’re removing customer data
- Prefer matching by
idfor reliability. Always keep a backup export before destructive changes
💡 Minimal CSV Examples
Archive by canceling:
id,action
gid://shopify/Order/123,CANCEL
gid://shopify/Order/456,CANCEL
Delete draft orders:
id,command
gid://shopify/DraftOrder/789,DELETE
gid://shopify/DraftOrder/790,DELETE
🎉 That’s it!
Your orders are now archived or deleted in bulk, depending on which option you chose.
If you run into any issues or have questions, feel free to contact our support team.