Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Update bytes in-place using fileUpdate
Effective April 28, 2023
As of 2023-07, you can use the
fileUpdateInput to provide an originalSource which will be used to update the bytes of a file. Passing originalSource when updating is supported media images and generic files.
Using this functionality makes it easy to do an in-place update of an existing file.