Re: When User Uninstall my app from his Store I want to get data of that store on my App

When User Uninstall my app from his Store I want to get data of that store on my App

Usama788
Shopify Partner
10 0 1

Hey, hope you are doing well.
I have one Custom App that performs basic operations using API's. When user uninstall my app from his store, i want to get data of that store on my app. So will you please share an idea about how to get that data on my store or anything that will be helpful related to that query. Thanks in advance

Replies 5 (5)

hardik355
Shopify Partner
240 22 36

Hello @Usama788 

 

Shopify provides a webhook when any store uninstalls your app so you will receive a webhook where all details you want. Check this link.

https://shopify.dev/docs/api/admin-rest/2022-04/resources/webhook

 

If helpful then please Like and Accept Solution.
For App Development and Design changes Hire Me.
Skype: live:hardikradadiya355
Thanks
Usama788
Shopify Partner
10 0 1

I tried that also but after app uninstallation from my store it does not send store data even after 4-5 hours?

 

PaulNewton
Shopify Partner
7245 638 1503

Get the data BEFORE uninstall.

Work under the assumption the app will not have the access to the required data for the uninstall, so pre-emptively get priority data required for uninstallation.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


Usama788
Shopify Partner
10 0 1

How to get data before uninstall?

Actually when app gets installed into shopify store i have all relevant details of store that are saved in my database. But i just want to get store details like store name or store code into specific url when app gets uninstalled from that store so i delete that store data from my database

Wakil_eFoli
Shopify Partner
47 2 6

@Usama788 You're saving the stores information in the db when the app is installed. Can you please tell me how do trigger this action upon the installation?