Regarding migrating from /products REST API to GraphQL API…
In the latest email 3 days ago:
" After [April 1st], Shopify Plus merchants will be able to opt in to early access to 2048 variants. Early access merchants using an app that has not yet been migrated to the new GraphQL product APIs will have a broken experience when interacting with products over 100 variants. For this reason, we will be notifying early access merchants if they are using an app that has not yet migrated to the new APIs.
Secondly, we wanted to update you that we will be deferring demotion of apps that have not yet migrated to the new GraphQL product APIs. We hope this update will enable you to stay focused on completing your migration and ensuring the merchant experience is not disrupted.
If you have any questions, please post them in the New GraphQL Product APIs Shopify Community Forum and our team will respond to you as soon as possible.
Thank you,
Shopify
"
This implies that if we’re using the Rest API for /products, after April 1st, we won’t be hit with the dreadful “UNSUPPORTED” warning when merchants are installing our app or viewing our app in the admin panel.
This is usually a death sentence for uninstalls and support requests.
We’re having a tough time migrating specifically because of two reasons:
- There’s no way to get products by collection in sorted order while also only getting Published products, through the GraphQL API. We’ve searched high and low for an answer to this.
- Grabbing a page’s worth of products and all variants from the graphql API takes multiple seconds for products with a high number of variants (100). We’ve submitted tickets for this.
It’s easy to say we should just get all their product data up front and only grab what we need in real time from the GraphQL API… In practice it’s not exactly reasonable to sync every single product from every shop, who can have literally 100s of thousands of products, and rely solely on webhooks for real-time updates, maintaining perfect order, and never assume we want to grab less than 1 or 2 products at a time. We really rely on the Shopify API for this kind of real-time access to full product data in at least 10-20 products at a time.
Regardless, that’s kind of besides the point.
The question is basically – are we going to get hit with a very unsightly UNSUPPORTED flag, or warning, or any other significant warning, for anyone that has our app installed, or will install our app, if we are using the REST products API, after April 1st?
The email received 3 days ago seems to imply that we’re OK for now.
Thanks,
James