UpdateFile
Updates metadata or attributes of an existing uploaded file asset within Shopify.
Input
| Name | Type | Description |
| Id | String | The unique ID of the file that will be updated. |
| FileName | String | The full name of the file, including its extension (for example, 'product_image.png'). |
| Description | String | An alternate text description of the file, often used for accessibility or SEO purposes. |
| OriginalSource | String | The source to use for updating a media image or generic file. Accepts an external URL (for images only) or a staged upload URL. |
| PreviewImageSource | String | The source for updating the media preview image. Can be an external or staged upload URL. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the update operation completed successfully. |
| Details | String | Additional details or diagnostic information about the execution of the update operation. |
| Id | String | The globally unique ID of the updated file. |
| Status | String | The current processing or availability status of the file after the update. |