Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Programmatically create apps on the Partner Dashboard

Programmatically create apps on the Partner Dashboard

Jnick020804
Visitor
2 0 0

I am looking for a way to create Apps on the Partner Dashboard programmatically. My company has several merchants that want to use our custom app to leverage our payment gateway. Since this is a custom app and custom apps can only be used by one store, we will need to create one app per merchant store which could be a ton of overhead if we have to do this manually.

I know the the Shopify CLI app calls an endpoint on some GraphQL api that creates apps on the dashboard, but the CLI app also requires logging in through the browser and also includes a bunch of code scaffolding stuff that we dont need.

 

My question is: Is there a solution or work around for being able to create apps on the partner dashboard? It seems like it should be possible since the CLI app can do it, but I dont actually see any documentation on the API the CLI app uses

 

Has anyone come up with a workaround or a solution for this? Also is there any plan to add this to the Partner API it seems like it would be really useful to a lot of people to be able to manage apps through an API rather than manually

Replies 2 (2)

toobiza
Shopify Partner
35 5 7

Two quick ideas/workarounds come to my mind:

  1. Have your app public but UNLISTED. Only the shops with link can access it.
  2. You can try to use Selenium WebDriver to automate via Shopify Partners GUI.

Good luck!

adelespinasse
Shopify Partner
9 0 3

The CLI is open source, so you could potentially figure out the API from that.