HasMetafieldDefinitions interface

Version unstable

Resources that metafield definitions can be applied to.

Fields

  • metafieldDefinitions (MetafieldDefinitionConnection!)

    List of metafield definitions.

    Argument Description
    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.

    namespace ( String )

    Filter metafield definitions by namespace.

    pinnedStatus ( MetafieldDefinitionPinnedStatus )

    Filter by the definition's pinned status.
    Default value: ANY

    query ( String )

    Supported filter parameters:

    • key
    • namespace
    • owner_type

    See the detailed search syntax for more information about using filters.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

    sortKey ( MetafieldDefinitionSortKeys )

    Sort the underlying list by the given key.
    Default value: ID

Types that implement HasMetafieldDefinitions