Delete Product on App Uninstalled

Alvin7
New Member
2 0 0

I created an embedded app using next.js, node.js and gql admin. When the app installed it will automatically create a product so the user can sell It but I can't find any API or GQL Admin that delete the product when the app uninstalled. Because I want to keep the client clean, so I need to remove the product when the app uninstalled.
Any suggestion?

0 Likes
Jayvin
Shopify Partner
130 17 30

Hmm,

When your app receives the uninstalled app webhook, it could automatically email the customer that has just uninstalled your app and tell him to delete the product.

0 Likes
Alvin7
New Member
2 0 0

Hi Jayvin,

Thank you for your reply.
I see, so there is no automatic way to delete product when store owner uninstall the embedded app, right?
The store owner needs to do that manually, we can just inform them to do that.

0 Likes