Skip to main content
query

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 arguments

•MetafieldConnection!
•String

Returns the elements that come after the specified cursor.

•String

Returns the elements that come before the specified cursor.

•Int

Returns up to the first n elements from the list.

•[CustomDataKeyPairInput!]
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.

•Int

Returns up to the last n elements from the list.

•Boolean

Reverse the order of the underlying list.

•MetafieldPermissibleSortKeys
Default:KEY

Sort the underlying listing by the given key.


Was this section helpful?

•[MetafieldEdge!]!
non-null

A list of edges.

•[Metafield!]!
non-null

A list of nodes.

•PageInfo!
non-null

Information to aid in pagination.


Was this section helpful?