Unable to update multiple product images in graphql mutation

anurag-m
Shopify Partner
5 0 1

Hi Team,

I am new to shopify.

I want to update multiple products image in one request .

Please help me out on this.

I am trying this but this for single product.

mutation productImageUpdate($image: ImageInput!, $productId: ID!) {
  productImageUpdate(image: $image, productId: $productId) {
    image {
      altText
      src
      id
    }
    userErrors {
      field
      message
    }
  }
}

 

Replies 0 (0)