Thanks
Topic summary
A developer seeks guidance on sending emails to merchants after they uninstall their Shopify app.
Initial Confusion:
- The original poster shared code snippets for querying customer information (both all customers and single customers) but the connection to their goal wasn’t immediately clear.
- Questions arose about why they needed customer IDs and whether they wanted to email customers or merchants.
Clarification & Solution:
- The developer clarified they want to email merchants (not customers) upon app uninstallation.
- The recommended approach is to use the
APP_UNINSTALLEDwebhook to trigger the email. - This webhook captures the merchant’s contact information when the app is uninstalled, enabling automated follow-up emails.
Outcome:
- A specific endpoint was shared for implementing this functionality.
- The developer acknowledged the solution with thanks.
1 Like