Manage variant media with the GraphQL Admin API

As of version 2020-10, you can use the GraphQL Admin API to add a media object of type image to a product's variants.

For example, you can create a product, variant, and media object, and attach a media object to a variant in a single step. You can also associate the product's media to its variants.

This guide illustrates how to manage media on product variants using the GraphQL Admin API.