--- title: MetaobjectConnection - Storefront API description: | An auto-generated type for paginating through multiple Metaobjects. api_version: 2025-10 api_name: storefront type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/connections/metaobjectconnection md: https://shopify.dev/docs/api/storefront/latest/connections/metaobjectconnection.md --- # Metaobject​Connection connection An auto-generated type for paginating through multiple Metaobjects. ## Queries with this connection * [metaobjects](https://shopify.dev/docs/api/storefront/latest/queries/metaobjects) query All active metaobjects for the shop. * type [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required ### Arguments The type of metaobject to retrieve. * sort​Key [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The key of a field to sort with. Supports "id" and "updated\_at". * first [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Returns up to the first `n` elements from the list. * after [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come after the specified cursor. * last [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Returns up to the last `n` elements from the list. * before [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come before the specified cursor. * reverse [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean) Default:false Reverse the order of the underlying list. *** *** ## Possible returns * edges [\[Metaobject​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/MetaobjectEdge) non-null A list of edges. * nodes [\[Metaobject!\]!](https://shopify.dev/docs/api/storefront/latest/objects/Metaobject) non-null A list of the nodes contained in MetaobjectEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo) non-null Information to aid in pagination. *** ## Map ### Queries with this connection * \[metaobjects](https://shopify.dev/docs/api/storefront/latest/queries/metaobjects) ### Possible returns * <->[Metaobject​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/MetaobjectConnection#returns-edges) * <->[Metaobject​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/MetaobjectConnection#returns-nodes) * <->[Metaobject​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/MetaobjectConnection#returns-pageInfo)