Possible to import Shopify's GraphQL Schema SDL into Postman?

Solved
Tourist
4 0 0

I'd like to load the schema into Postman in order to take advantage of autocomplete. Is it available to download?

 

https://learning.getpostman.com/docs/postman/sending_api_requests/graphql/

0 Likes

Success.

Community Manager
Community Manager
570 34 65

Hi @Rusty-Dev,

 

The fact that Postman doesn't handle introspection automatically is why I personally use Insomnia for GraphQL queries. Hopefully they add it soon!

 

If you want to import the schema into Postman, you would need to fetch the schema yourself. I found what should be the query you need, but it's from a fairly old GIST so you may need to update it if there's information missing. Many coding languages have libraries that will do this for you as well.

 

Cheers,

1 Like