Objects
ProductAssetType
An asset from the asset library linked to the product as an image or a file
An asset from the asset library linked to the product as an image or a file
type ProductAssetType {
id: ID!
name: String!
url: String
linkType: String!
mediaType: String!
altText: [ProductAssetTextType!]
description: [ProductAssetTextType!]
tags: [String]
sizeBytes: Long!
}
Fields
id ● ID! non-null scalar required
The asset ID.
name ● String! non-null scalar required
The asset name.
url ● String scalar
The URL of the asset.
linkType ● String! non-null scalar required
How the asset is linked to the product: 'productimage' or 'productfile'.
mediaType ● String! non-null scalar required
The asset type, such as 'image', 'svg', 'pdf' or 'doc'.
altText ● [ProductAssetTextType!] list object
The alt text in every language it has.
description ● [ProductAssetTextType!] list object
The description in every language it has.
tags ● [String] list scalar
Tags on the asset.
sizeBytes ● Long! non-null scalar required
The file size in bytes.
Member Of
Product object