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?

Replies 4 (4)
Jayvin
Shopify Partner
284 42 85

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.

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.

Arhum
Excursionist
23 2 8

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

Thank you

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.