Delete Product on App Uninstalled

Alvin7
New Member
3 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
254 39 67

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
3 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
Arhum
Excursionist
23 2 7

Hi, Have you found the automatic solution or inform the client is the only way?

Thank you

0 Likes
Alvin7
New Member
3 0 0

Hi Quicki,
No I haven't found the solution yet.
So currently yes, just inform the client to remove the product manually.

0 Likes