stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ProductVariantInput > mediaId

AdminTypes.ProductVariantInput.mediaId property

The ID of the media to associate with the variant. This field can only be used in mutations that create media images and must match one of the IDs being created on the product. This field only accepts one value.

Signature:

mediaId?: InputMaybe<Scalars['ID']['input']>;