---
title: >-
  Breaking changes to Variants API: Removal of
  "ProductVariantsBulkInput.imageId" and "ProductVariantsBulkInput.imageSrc" -
  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/breaking-changes-to-variants-api-removal-of-productvariantsbulkinput-imageid-and-productvariantsbulkinput-imagesrc
  md: >-
    https://shopify.dev/changelog/breaking-changes-to-variants-api-removal-of-productvariantsbulkinput-imageid-and-productvariantsbulkinput-imagesrc.md
metadata:
  effectiveApiVersion: 2024-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2023-11-14T05:56:14-05:00'
  postedAt: '2023-11-14T05:52:00-05:00'
  updatedAt: '2024-12-13T17:24:40-05:00'
  effectiveAt: '2023-11-14T05:52:00-05:00'
---

November 14, 2023

Tags:

* API
* 2024-01

# Breaking changes to Variants API: Removal of "ProductVariantsBulkInput.imageId" and "ProductVariantsBulkInput.imageSrc"

As of GraphQL Admin API version **2024-01**, we are removing the deprecated `imageId` and `imageSrc` fields from the `ProductVariantsInput` input object. Please use the [`mediaId`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantsBulkInput#field-productvariantsbulkinput-mediaid) and [`mediaSrc`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantsBulkInput#field-productvariantsbulkinput-mediasrc) fields instead.

Learn more about the usage of the `media` fields on [Shopify.dev](https://shopify.dev/)
