Anchor to metaobjects
querymetaobjects
Requires access scope.
All active metaobjects for the shop.
Anchor to Arguments
•MetaobjectConnection!MetaobjectConnection arguments
- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to firstfirst•Int
Returns up to the first
n
elements from the list.- Anchor to lastlast•Int
Returns up to the last
n
elements from the list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•String
Key The key of a field to sort with. Supports "id" and "updated_at".
- Anchor to typetype•String!required
The type of metaobject to retrieve.
Was this section helpful?
Anchor to Possible returnsPossible returns
- 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.
Was this section helpful?