--- title: MetaobjectConnection - GraphQL Admin description: An auto-generated type for paginating through multiple Metaobjects. api_version: 2025-01 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/connections/metaobjectconnection md: https://shopify.dev/docs/api/admin-graphql/2025-01/connections/metaobjectconnection.md --- # Metaobject​Connection connection An auto-generated type for paginating through multiple Metaobjects. ## Fields with this connection * [Metaobject​Definition.metaobjects](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/MetaobjectDefinition#field-MetaobjectDefinition.fields.metaobjects) OBJECT Defines the structure and configuration for a custom data type in Shopify. Each definition specifies the fields, validation rules, and capabilities that apply to all [`Metaobject`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metaobject) entries created from it. The definition includes field definitions that determine what data to store, access controls for [the Shopify admin](https://shopify.dev/docs/apps/build/custom-data/permissions#admin-permissions) and [Storefront](https://shopify.dev/docs/apps/build/custom-data/permissions#storefront-permissions) APIs, and capabilities such as publishability and translatability. You can track which [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) or [`StaffMember`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StaffMember) created the definition and optionally base it on a [`StandardMetaobjectDefinitionTemplate`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StandardMetaobjectDefinitionTemplate). *** ## Queries with this connection * [metaobjects](https://shopify.dev/docs/api/admin-graphql/2025-01/queries/metaobjects) query Returns a paginated list of [`Metaobject`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metaobject) entries for a specific type. Metaobjects are custom data structures that extend Shopify's data model with merchant or app-specific data types. Filter results using the query parameter with a search syntax for metaobject fields. Use `fields.{key}:{value}` to filter by field values, supporting any field previously marked as filterable. The `sortKey` parameter accepts `id`, `type`, `updated_at`, or `display_name` to control result ordering. Learn more about [querying metaobjects by field value](https://shopify.dev/docs/apps/build/custom-data/metafields/query-by-metafield-value). *** ## Possible returns * edges [\[Metaobject​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/MetaobjectEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Metaobject!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Metaobject) non-null A list of nodes that are contained in MetaobjectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Fields with this connection * {}[Metaobject​Definition.metaobjects](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/MetaobjectDefinition#field-MetaobjectDefinition.fields.metaobjects) ### Queries with this connection * \[metaobjects](https://shopify.dev/docs/api/admin-graphql/2025-01/queries/metaobjects) ### Possible returns * <->[Metaobject​Connection.edges](https://shopify.dev/docs/api/admin-graphql/2025-01/connections/MetaobjectConnection#returns-edges) * <->[Metaobject​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/2025-01/connections/MetaobjectConnection#returns-nodes) * <->[Metaobject​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/2025-01/connections/MetaobjectConnection#returns-pageInfo)