--- title: Deprecation of image-related fields in product and product variants mutations - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/deprecation-of-image-related-fields-in-product-and-product-variants-mutations md: https://shopify.dev/changelog/deprecation-of-image-related-fields-in-product-and-product-variants-mutations.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 15, 2023 Tags: * API * 2023-07 # Deprecation of image-related fields in product and product variants mutations As of GraphQL Admin API version **2023-07**, we're deprecating a set of fields used for associating images with products and variants. Please, have a look at the list of upcoming changes: * On `ProductInput`: we're deprecating the `images` field. Use the newly introduced `media` field instead. * On `ProductVariantInput`: we're deprecating `imageId` and `imageSrc` fields. Use `mediaId` and `mediaSrc` instead. * On `ProductVariantsBulkInput`: we're deprecating the `imageSrc` field. Use `mediaSrc` instead. Learn more about [`ProductInput`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductInput), [`ProductVariantInput`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantInput) and [`ProductVariantsBulkInput`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantsBulkInput) on [Shopify.dev](https://shopify.dev/)