Last Updated: December 2024
This document outlines how long we retain different types of data and the processes for data deletion in the Returns App.
| Data Type | Retention Period | Deletion Trigger |
|---|---|---|
| Customer Email | Until return completed or app uninstalled | Automatic |
| Customer Phone | Until return completed or app uninstalled | Automatic |
| Return Request Details | 7 years (for legal/accounting) or until app uninstalled | Automatic on uninstall |
| Data Type | Retention Period | Deletion Trigger |
|---|---|---|
| Return Settings | Until app uninstalled | Automatic |
| Session Data | Until app uninstalled or session expires | Automatic |
| Data Type | Retention Period | Deletion Trigger |
|---|---|---|
| Access Logs | 2 years | Scheduled cleanup |
| Security Events | 7 years | Scheduled cleanup |
When a merchant uninstalls the Returns App, the following data is automatically deleted:
1. Immediately Deleted:
2. Deleted Within 30 Days:
When a return request is marked as "completed":
The following cleanup jobs run periodically:
Merchants can request immediate data deletion by:
Customers should contact the merchant directly for data deletion. Merchants can:
Data subject to legal holds or investigations may be retained beyond normal retention periods as required by law.
Instead of deletion, some data may be anonymized for analytics:
Anonymized data cannot be linked back to individuals.
Deletion Process:
1. App uninstall webhook received
2. Delete all ReturnRequest records for shop
3. Delete all ReturnItem records (cascade)
4. Delete ReturnSettings for shop
5. Delete OrderReturnSettings for shop
6. Delete Session records for shop
7. Queue audit log cleanup
8. Confirm deletion in logs
After deletion:
This retention policy is designed to comply with:
Changes to retention periods will be:
For questions about data retention or deletion requests: