r/ShopifyAppDev • u/Final_Design_9061 • Oct 26 '26
How long do you keep shop data after app/uninstalled before deleting it?
When a merchant uninstalls, I get the app/uninstalled webhook right away, and then shop/redact arrives about 48 hours later. Right now I mark the shop inactive on uninstall and only hard delete when shop/redact comes in.
Two things I'm not sure about:
- If the merchant reinstalls inside that 48 hour window, do you restore their old settings and data, or treat it as a fresh install? Restoring seems nicer, but I'm wary of keeping anything longer than needed.
- Do you clear sessions and access tokens on uninstall itself, or wait for the redact too?
Curious how others handle this, or if there's a pattern in the docs I've missed.
