Skip to main content
connection

The connection type for Metafield.

Anchor to Queries with this connectionQueries with this connection

•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.

Arguments

•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?