Hi all.
I’m currently developing an app outside of shopify to help store owners manage local pickups. To do this, we need access token and scopes configured so we can execute Admin Graphql queries.
We have manually configured the app in the dev dashboard and added the app access token to our webapp and we have no issues registering webhooks, running queries and everything we need to function. We intend to register this to the public app store.
What we cannot do is register the mandatory webhooks as apparently they are not supported by GraphQL and the option to configure via partner portal has been removed. Is there another way to do this that doesn’t involve us setting up a second app via the Shopify CLI to just provided us with customer shop access?
We really do not want to setup an app to just provide auth to our existing web app.
Hey @dadof3bytes - thanks for reaching out, definitely understand where you’re coming from on this. At the moment, you would have to register the webhooks via the CLI since there isn’t a way to input them through the new dev dashboard, but you wouldn’t need to create a second app. You would need to duplicate any existing code into new folders to set them up for CLI deployment, but you can link an existing app to those local folder if needed using the shopify app config link command:
You’d just need to use the existing client ID of your app which should pop up in the Dev Dashboard at this URL:
Man that sucks. All I need to do is get an accesstoken and register webhooks for customers. Now i have to stand up a seperate app just so I can have something in the app store?
I cannot see any reason why we shouldn’t be able to register the mandatory webhooks via a GraphQL mutation.
Really wish shopify would stop making things harder for developers.
Hey @dadof3bytes, I hear you on the frustration, appreciate you sharing that feedback, I’ll see if I can get in touch with some folks internally to pass along your feedback at the very least. Just to confirm I’m understanding correctly, you’re just running the app as a web app with the credentials you pulled from the partner dashboard and didn’t set it up using something like app init in the CLI?
Wanted to confirm your use case here so I can advocate more effectively on my end. Hope to hear from you soon!