Queries

Note : The direct File query is not part of the public API. File data is exposed through the other entities of the API (files are not directly queryable by their identifier).


Available fields

File type

id
Unique identifier of the file
label
Label of the file
type
Type of the file
created_at
Creation date of the file
expires_at
Expiration date of the file (null if the file never expires)
size
Size of the file in bytes
mime
MIME type of the file
path
Storage path of the file
weight
Weight of the file in bytes
public_path
Public URL of the file
image_path(style)
Public URL of the resized image for the given ImageStyle (only available for images)


Enums

ImageStyle enum

ValueDescription
pdfLogoLogo used on generated PDF documents.
productThumbnailThumbnail of the product.
productSmallSmall product image.
productMediumMedium product image.
productLargeLarge product image.