Anchor to metafields
querymetafields
Retrieve Metafields by their Definition's Key or Namspace and Key. Leave blank to retreive all metafields on the user that your client has access to.
Anchor to Arguments
•MetafieldConnection!MetafieldConnection arguments
- after (String)
- before (String)
- first (Int)
- identifiers ([CustomDataKeyPairInput!])
- last (Int)
- reverse (Boolean)
- sortKey (MetafieldPermissibleSortKeys)
- 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
nelements from the list.- Anchor to identifiersidentifiers•[Custom
Data Key Pair Input!] Default:[] Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided. Leave blank to see everything available to the client on the user.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to reversereverse•Boolean
Reverse the order of the underlying list.
- Anchor to sortKeysort•Metafield
Key Permissible Sort Keys Default:KEY Sort the underlying listing by the given key.
Was this section helpful?
Anchor to Possible returnsPossible returns
- edges ([MetafieldEdge!]!)
- nodes ([Metafield!]!)
- pageInfo (PageInfo!)
- Anchor to edgesedges•[Metafield
Edge!]! non-null A list of edges.
- Anchor to nodesnodes•[Metafield!]!non-null
A list of nodes.
- Anchor to pageInfopage•Page
Info Info! non-null Information to aid in pagination.
Was this section helpful?