Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We recently updated the version we use in the GraphQL storefront API from "2021-10" to "2022-10" at the request of an e-mail that stated "One or more of your apps have made deprecated API calls in the last 14 days. Support for this version will be removed on January 31, 2023."
The e-mail also mentioned that these there were breaking changes that would affect our app:
In response we've upgraded to "2022-10" version, but I see we're still using some fields that are present in the "2022-10" version but marked as "@deprecated", such as the compareAtPriceV2 field.
So my question is: is it OK to use deprecated fields (such as the compareAtPriceV2 field) so long as the version of the API (2022-10) still has them present and working, or will these deprecated fields stop working on January 31st as stated in the e-mail?
When they depreciate something they make it unusable so yes you'll have to update your app accordingly eventually.
Hi @casey-customs thanks for the response-- I understand the fields will be unusable eventually, but do you know if it's OK to use them so long as they still exist in the schema (and marked with @deprecated)? I'm wondering if Shopify removes deprecated fields in future version but maintains the functionality for supported versions that still have fields that are marked as deprecated
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024