Reverting back the previous image

Topic summary

A developer is seeking a programmatic way to revert image changes made through Shopify’s fileUpdate GraphQL mutation.

Current situation:

  • Images are being updated via the fileUpdate GraphQL call
  • Manual reversion is possible through Shopify’s admin interface using a “revert” option

The problem:

  • No GraphQL mutation or API endpoint has been found to programmatically revert to the original image
  • Looking for a way to automate this reversion process

Status: The question remains unanswered, with no solutions or workarounds proposed yet.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

I have used the fileUpdate GraphQL call for updating an image. Now, if days later i want to revert back the original image, i can do it using revert option from Shopify upfront, but I haven’t found any graphql or api to do that. Can someone help me? How can i do this reverting using GraphQL?

1 Like