TL;DR: Shopify API version 2023-10 is now available on all Gadget apps.
Most developers in the Shopify ecosystem are familiar with Shopify’s API version upgrades, which happen every quarter. With each one, Shopify gives us access to new functionality and deprecates any resources they no longer support.
With these upgrades, Shopify developers are faced with new models, fields, and functionalities to take advantage of for their apps, as well as a list of things they need to change, migrate, or update. With Gadget, making the switch is as easy as clicking a button.
To upgrade your Gadget app to the latest Shopify API version, navigate to the Plugins page and select the Shopify Connection. There you will see the current API version, along with a link to upgrade.
Click Upgrade and you’ll be shown the API upgrade page that highlights all of the field changes that will affect Shopify models that are being used in your app. This includes fields that will be added, deprecated, modified, or disconnected.
For more information on upgrading your Shopify API version in Gadget, read our docs.
Available today, you can now upgrade your Gadget apps to use API version 2023-10, which includes the following changes:
1. You can now have multiple domains on the primary market.
Shopify has introduced support for multiple domains, allowing merchants to target different language experiences on the primary market. To accommodate this change, we have upgraded the `webPresence` field on the `shopifyMarket` model from a `has one` relationship to a `has many` relationship.
2. Miscellaneous changes to Product, Order, and Shop syncing
Gadget uses a combination of the GraphQL API and Shopify webhooks to populate the scopes and models for your app. To support the latest API changes, we’ve made updates to a variety of fields. To see the full list of changes, check out our Shopify API version changelog.
If you have any questions or need help migrating your Gadget app to the latest version of the Shopify API, you can always find us on Discord.