How can I use the Partner Dashboard API that the Shopify CLI uses?

Roreo
Shopify Partner
3 0 1

The Shopify CLI seems to use some sort of API to interact with the Partner Dashboard. For example, this file references it at `https://partners.shopify.com/api/cli/graphql`.

 

Is there a partner dashboard API being used in the Shopify CLI? If so, where is the documentation so that I can use it to automate my workflow?

Replies 3 (3)

hassain
Shopify Staff (Retired)
624 104 187

Hey @Roreo ,

 

The API for the Partner Dashboard (e.g. "partners.myshopify.com/api/cli/graphql") does not have any public documentation.

 

This API is exclusively for the Shopify CLI, which connects to the Partner Dashboard so it can help speed up the process of developing apps by automatically registering your app in the Partner Dashboard for you. Read here for more information: https://www.shopify.ca/partners/blog/cli-tool 

 

To learn more visit the Shopify Help Center or the Community Blog.

Roreo
Shopify Partner
3 0 1

Thanks for the reply @hassain!

 

It's a bummer that there's no public documentation.

 

Are there any plans to officially support this API publicly? Can I still use the endpoints, if I can figure it out myself?

TheFlyingCoder
Shopify Partner
8 0 8

Over a year later, i'm looking for the same thing

All I want is to update the APP Url and redirect whitelist programatically.

Did  you ever figure it out @Roreo ?