---
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
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2023-06-12T09:20:35-04:00'
  postedAt: '2023-06-15T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:38-05:00'
  effectiveAt: '2023-06-15T00:00:00-04:00'
---

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/)
