How do I change the uninstall message for an app I'm developing?

How do I change the uninstall message for an app I'm developing?

den232
Shopify Partner
227 8 58
I can see the message in the admin graphQL API, as 
 

 

{
  app {
     uninstallUrl
     uninstallMessage
  }
}​

 

 which produces this:

 

{
  "data": {
    "app": {
      "uninstallUrl": null,
      "uninstallMessage": "You’ll no longer be able to use this app, and its associated discounts will be deleted."
    }
  }

 

 

But how do I do a mutation? to change it.  I'd like to say to use the in-app button first!

 

Thanks jb

Replies 4 (4)
den232
Shopify Partner
227 8 58

dear Dora-Felix,

 

What a quick reply! ... I do have a problem.   Dumb perhaps, but still a stopper for me.  Once I navigate in the partner dashboard to the app I'm developing, I do not see "App Setup".  I have several options on the left:

 

 

These each have their own pages, but none have app setup ... Shall I send you some screenshots? 

 

Cheers and Thanks jb

den232
Shopify Partner
227 8 58

Anyone have a suggestion?  All I got was a scam/spam response that has evidently even been deleted now!  Thx  jb

 

Also ...

 

I am building the uninstall feature for my (new) app.

 

A merchant taps my button to say "uninstall this app" ...

 

First, I will do some metafield (etc) cleanup to his store, then want to do the actual uninstall.  I see some references to how to do this using the rest API, such as https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/uninstall-app-api-... but that API is going away soon, so would not be a brilliant choice ... right?

 

How can I do the actual uninstall by another API?

 

Thanks!  jb

brrrm
Shopify Partner
2 0 1

I am also searching for this. I'm in the process of changing my REST-API calls to GraphQL calls and uninstalling the app is missing from all documentations.

 

Could anybody point us in the right direction on how to uninstall an app using GraphQL?

den232
Shopify Partner
227 8 58

I hope some developer cleverer than I replies to this one. All I could think of was a button-like sign telling the user to press the Shopify uninstall button hidden behind three dots in the upper right corner. 

is that a dorky kludge, or what?

 

cheers jb