GraphQL productAppendImages AND assign to variants

markus12
Shopify Partner
30 1 14

Hi,

 

With the REST API, one can create product images and specify `variant_ids` as variants which have that image, in a single API call: https://shopify.dev/api/admin-rest/2022-01/resources/product-image#post-products-product-id-images

 

With GraphQL, `productAppendImages` has no `variantIds`:

https://shopify.dev/api/admin-graphql/2022-04/mutations/productappendimages

 

@Shopify Would you consider adding this, so we can avoid having a separate call to

https://shopify.dev/api/admin-graphql/2022-01/mutations/productVariantUpdate

?

Replies 0 (0)