MetafieldDefinitionUpdateInput input object

Version unstable

Specifies the input fields for a metafield definition update mutation.

Input fields

  • description (String)

    The updated value for the metafield definition's description.

  • key (String!) Required

    The key for the metafield definition.

  • name (String)

    The updated value for the metafield definition's name.

  • namespace (String!) Required

    The namespace for the metafield definition.

  • ownerType (MetafieldOwnerType!) Required

    The resource type that the metafield definition is scoped to.

  • pin (Boolean)

    Sets whether the metafield definition should be pinned or unpinned.