Anchor to FileUpdateInputFile
input_objectFile Update Input
The input fields that are required to update a file object.
Anchor to FieldsFields
- •String
The alternative text description of the file.
- Anchor to filenamefilename•String
The name of the file including its extension.
- •ID!non-null
The ID of the file to be updated.
- Anchor to originalSourceoriginal•String
Source The source from which to update a media image or generic file. An external URL (for images only) or a staged upload URL.
- Anchor to previewImageSourcepreview•String
Image Source The source from which to update the media preview image. May be an external URL or a staged upload URL.
- Anchor to referencesToAddreferences•[ID!]
To Add The IDs of the references to add to the file. Currently only accepts product IDs.
- Anchor to referencesToRemovereferences•[ID!]
To Remove The IDs of the references to remove from the file. Currently only accepts product IDs.
Was this section helpful?