Skip to main content
input_object

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

•String

The alt text description of the file for screen readers and accessibility.

•String

The name of the file including its extension.

•ID!
non-null

The ID of the file to be updated.

•String

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

•String

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

•[ID!]

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

•[ID!]

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


Was this section helpful?