Metafield Reference
Returns the resource which is being referred to by a metafield.
Anchor to Possible typesPossible types
- •OBJECT
A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.
- •OBJECT
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.
- •OBJECT
Represents a Shopify hosted image.
- •OBJECT
An instance of a user-defined model based on a MetaobjectDefinition.
- •OBJECT
Represents a Shopify hosted 3D model.
- •OBJECT
Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.
- •OBJECT
The
Product
object lets you manage products in a merchant’s store.Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use product variants to create or update different versions of the same product. You can also add or update product media. Products can be organized by grouping them into a collection.
Learn more about working with products and collections.
- •OBJECT
A product variant represents a different version of a product, such as differing sizes or differing colors.
- •OBJECT
Represents a Shopify hosted video.
Anchor to Fields with this unionFields with this union
- •OBJECT
Returns a reference object if the metafield's type is a resource reference.
- •CONNECTION
A list of reference objects if the metafield's type is a resource reference list.
- •CONNECTION
A list of the nodes contained in MetafieldReferenceEdge.
- •OBJECT
The item at the end of MetafieldReferenceEdge.
- •OBJECT
A referenced object if the field type is a resource reference.
- •CONNECTION
A list of referenced objects if the field type is a resource reference list.