How can I use webhook to know who deleted my app so I can remove him from database?

Solved
sstefanm
Tourist
8 2 1

Greetings to all, I'm new in Shopify app development and I'm using PHP for creating my applications for Shopify I have an access token and store URL in my database and now I want to know how can I delete that when the user uninstall my app so I can delete record in my database I heard of webhook Shopify API but I do not understand how it's work and how to use it, can someone help me how can I achieve this and give me code example?

Stefan Momcilovic
Accepted Solution (1)

Accepted Solutions
Reply 1 (1)