Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Unable to update multiple product images in graphql mutation

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)