Skip to main content

Asset

An Asset represents a file such as an image which can be associated with certain other entities such as Products.

Signature

constructor

method(input?: DeepPartial<Asset>) => Asset

name

propertystring

type

propertyAssetType

mimeType

propertystring

width

propertynumber

height

propertynumber

fileSize

propertynumber

source

propertystring

preview

propertystring

focalPoint

property{ x: number; y: number }

tags

propertyTag[]

channels

propertyChannel[]

featuredInCollections

propertyCollection[]

featuredInVariants

propertyProductVariant[]

featuredInProducts

propertyProduct[]

customFields

propertyCustomAssetFields
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page