Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

New variant media editing methods and mime type field

API

As of the 2020-10 API version, apps can add an array of media objects to product variants. Currently the array is limited to only one media object of type image.

For more information on how to work with product variants and media using the GraphQL API, refer to our variant media tutorial.

Additionally, we've added a new mime type field to the MediaImage object in the GraphQL API.