HasMetafields interface

Version unstable

Represents information about the metafields associated to the specified resource.

Fields

  • metafield (Metafield)

    Returns a metafield by namespace and key that belongs to the resource.

    Argument Description
    key ( String! ) required

    The key for the metafield.

    namespace ( String! ) required

    The namespace for the metafield.

  • metafields (MetafieldConnection!)

    List of metafields that belong to the resource.

    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 )

    The metafield namespace to filter by.

    reverse ( Boolean )

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

  • privateMetafield (PrivateMetafield)

    Returns a private metafield by namespace and key that belongs to the resource.

    Argument Description
    key ( String! ) required

    The key for the private metafield.

    namespace ( String! ) required

    The namespace for the private metafield.

  • privateMetafields (PrivateMetafieldConnection!)

    List of private metafields that belong to the resource.

    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 </