Shopify Community AMA with Shopify Developers: The New GraphQL Product APIs

No, I was referring to fileUpdate. I cannot upload a file with a different extension. If the original image is png, I cannot upload a jpg. If the image is jpg, I cannot upload png. The file extension must match currently and this will kill a lot of functionality that we had before.

Even if you guys think It should allow different file extensions - the devs should update It asap as It’s expected behaviour.

mutation FileUpdate($input: [FileUpdateInput!]!) {
    fileUpdate(files: $input) {
        userErrors {
            code
            field
            message
        }
        files {
            alt
            ... on MediaImage {
                id
                image {
                    url
                }
            }
        }
    }
}