Shopify GraphiQL App Subscription schema is not supported

Solved
Lallawmzuala
New Member
3 0 0

I've been using the 2020-07 version of Shopify GraphiQL App for an android app that I've released and come to find out that the subscription schema I used to watch when a new order is placed have not been firing when there is a change, I went to the graphiql  playground of the Shopify GraphiQL App and looking at the documentation explorer find out that there is no root for subscription . Have the subscription schema been removed? if so, is there an alternative to watch changes to a specific order/product etc., in real-time? 

0 Likes
L_J_K
Shopify Staff
Shopify Staff
257 34 40

Hey @Lallawmzuala 

So, App Subscription is still a thing in 2021-07 (latest version) in our GraphQL Admin API (docs here)   - 2020-07 is now an unstable API Version as at July 1st.

I was able to query app subscription in the GraphiQL app using all the available versions - could you perhaps supply some screenshots of the requests you are making your end and I can take a look? Thanks!

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes
Lallawmzuala
New Member
3 0 0

I apologize if I was a bit confusing and did not write out what I meant, the subscription that I was asking about refers to one of the operation that is available in a graphql (query,mutation and subscription)  and not the service/product subscription which a user may make to a shopify store.

0 Likes
L_J_K
Shopify Staff
Shopify Staff
257 34 40

This is an accepted solution.

No worries! I think I'm with you now. It sounds like - if you're watching for order changes - you'd be referring to GraphQL Webhook Subscriptions.

Taking a look at QueryRoot.webhookSubscription here the naming wouldn't have changed. I've compared back to version 2020-10 of the GraphQL API - it's remained the same.

Are you using Subscription instead of including the full name of WebhookSubscription when subscribing perhaps?

 

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes