metaobjects - storefront - QUERY
Version: 2024-10
Description:
All active metaobjects for the shop.
Access Scopes
`unauthenticated_read_metaobjects` access scope.
Arguments
-
after:
String -
Returns the elements that come after the specified cursor.
-
before:
String -
Returns the elements that come before the specified cursor.
-
first:
Int -
Returns up to the first `n` elements from the list.
-
last:
Int -
Returns up to the last `n` elements from the list.
-
reverse:
Boolean -
Reverse the order of the underlying list.
-
sortKey:
String -
The key of a field to sort with. Supports "id" and "updated_at".
-
type:
String! -
The type of metaobject to retrieve.
Returns
-
edges:
MetaobjectEdge!
A list of edges.
-
nodes:
Metaobject!
A list of the nodes contained in MetaobjectEdge.
-
pageInfo:
PageInfo!
Information to aid in pagination.
Examples