--- title: MetafieldReference - GraphQL Admin description: The resource referenced by the metafield value. api_version: 2026-01 api_name: admin type: union api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/unions/MetafieldReference' md: >- https://shopify.dev/docs/api/admin-graphql/latest/unions/MetafieldReference.md --- # Metafield​Reference union The resource referenced by the metafield value. ## Possible types * Article * Collection * Company * Customer * GenericFile * MediaImage * Metaobject * Model3d * Order * Page * Product * ProductVariant * TaxonomyValue * Video *** ## Fields with this union * * * * * * * : deprecated *** ```graphql union MetafieldReference = Article | Collection | Company | Customer | GenericFile | MediaImage | Metaobject | Model3d | Order | Page | Product | ProductVariant | TaxonomyValue | Video ```