Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

input_object

The input fields that are required to update a file object.

•

The alternative text description of the file.

•

The name of the file including its extension.

•
ID!non-null

The ID of the file to be updated.

•

The source from which to update a media image or generic file. An external URL (for images only) or a staged upload URL.

•

The source from which to update the media preview image. May be an external URL or a staged upload URL.

•

The IDs of the references to add to the file. Currently only accepts product IDs.

•

The IDs of the references to remove from the file. Currently only accepts product IDs.


Was this section helpful?

Anchor to Mutations using this inputMutations using this input


Was this section helpful?