Discuss all the new features introduced with the new product model in GraphQL.
With the deprecation of productImageUpdate I cannot upload a renamed image with productUpdateMedia.
As an image optimizaiton app that optimizes over 100 thousand images each day (we optimize filenames, convert from png to jpg and add ALT texts) and with this new updates, I cannot see a way to upload new filenames through productUpdateMedia.
Previously It was really easy through productImageUpdate or to update all images at once with REST API products/product_id.json
Is there a way now to upload new product gallery images with new filenames and ALT texts ?
Hello!
Unfortunately we don't have an alternative option do this outside the deprecated API in REST. We do however have a targeted API for doing exactly this in GraphQL: fileUpdate.
With fileUpdate, you'll be able to directly rename the file or update alt texts. If the file is being referenced by a product, it should be updated for the product as well.
To learn more visit the Shopify Help Center or the Community Blog.