Metaobject Connection
An auto-generated type for paginating through multiple Metaobjects.
Anchor to Queries with this connectionQueries with this connection
- metaobjects (MetaobjectConnection!)
- •query
Returns a paginated list of
Metaobjectentries for a specific type. Metaobjects are custom data structures that extend Shopify's data model with merchant-defined or app-defined content like size charts, product highlights, or custom sections.The required
typeargument specifies which metaobject type to retrieve. You can sort results byidorusing theargument.- Anchor to typetype•String!required
The type of metaobject to retrieve.
- Anchor to sortKeysort•String
Key The key of a field to sort with. Supports "id" and "updated_at".
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Anchor to Possible returnsPossible returns
- edges ([MetaobjectEdge!]!)
- nodes ([Metaobject!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Metaobject
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Metaobject!]!non-null
A list of the nodes contained in MetaobjectEdge.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.