Skip to main content
union

Returns the resource which is being referred to by a metafield.

•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

Represents a Shopify hosted video.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

The custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

•OBJECT

The custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

•CONNECTION

An auto-generated type for paginating through multiple MetafieldReferences.

•OBJECT

An auto-generated type which holds one MetafieldReference and a cursor during pagination.

•OBJECT

Provides the value of a Metaobject field.


Was this section helpful?