Deprecation of image-related fields in product and product variants mutations
API
Effective June 15, 2023
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 theimages
field. Use the newly introducedmedia
field instead. - On
ProductVariantInput
: we're deprecatingimageId
andimageSrc
fields. UsemediaId
andmediaSrc
instead. - On
ProductVariantsBulkInput
: we're deprecating theimageSrc
field. UsemediaSrc
instead.
Learn more about ProductInput
, ProductVariantInput
and ProductVariantsBulkInput
on Shopify.dev