Returns the resource which is being referred to by a metafield.
Possible types
A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.
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.
Represents a Shopify hosted image.
An instance of a user-defined model based on a MetaobjectDefinition.
Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.
A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
A product variant represents a different version of a product, such as differing sizes or differing colors.
Represents a Shopify hosted video.
Fields with this union
Returns a reference object if the metafield's type is a resource reference.
A list of reference objects if the metafield's type is a resource reference list.
A list of the nodes contained in MetafieldReferenceEdge.
The item at the end of MetafieldReferenceEdge.
A referenced object if the field type is a resource reference.
A list of referenced objects if the field type is a resource reference list.