GenericFile - storefront - OBJECT
Version: 2025-01
Description:
The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON.
Access Scopes
`unauthenticated_read_product_listings` access scope.
Fields
alt
: String - A word or phrase to indicate the contents of a file.
id
: ID! - A globally-unique ID.
mimeType
: String - The MIME type of the file.
originalFileSize
: Int - The size of the original file in bytes.
previewImage
: Image - The preview image for the file.
url
: URL - The URL of the file.
Connections
Related queries
Related mutations
Related Unions
MetafieldReference
Returns the resource which is being referred to by a metafield.
Examples