# MetafieldRelation - admin-graphql - OBJECT Version: 2024-10 ## Description Defines a relation between two resources via a reference metafield. The referencer owns the joining field with a given namespace and key, while the target is referenced by the field. ### Access Scopes ## Fields * [key](/docs/api/admin-graphql/2024-10/scalars/String): String! - The key of the field making the reference. * [name](/docs/api/admin-graphql/2024-10/scalars/String): String! - The name of the field making the reference. * [namespace](/docs/api/admin-graphql/2024-10/scalars/String): String! - The namespace of the metafield making the reference, or type of the metaobject. * [referencer](/docs/api/admin-graphql/2024-10/unions/MetafieldReferencer): MetafieldReferencer! - The resource making the reference. * [target](/docs/api/admin-graphql/2024-10/unions/MetafieldReference): MetafieldReference! - The referenced resource. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples