generic_ file
A file from a type metafield that is neither an image or video.
Properties
The position of the media in the
product.media
array.If the source is a
metafield, then
nil
is returned.
{
"alt": null,
"id": 21918386454593,
"media_type": "generic_file",
"position": null,
"preview_image": {},
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/files/disclaimer.pdf?v=9043651738044769859"
}
{
"alt": null,
"id": 21918386454593,
"media_type": "generic_file",
"position": null,
"preview_image": {},
"url": "//polinas-potent-potions.myshopify.com/cdn/shop/files/disclaimer.pdf?v=9043651738044769859"
}
Was this section helpful?