Metafield object

Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

Fields

  • createdAt (DateTime!)

    The date and time when the storefront metafield was created.

  • description (String)

    The description of a metafield.

  • id (ID!)

    Globally unique identifier.

  • key (String!)

    The key name for a metafield.

  • namespace (String!)

    The namespace for a metafield.

  • parentResource (MetafieldParentResource!)

    The parent object that the metafield belongs to.

  • type (String!)

    The type name of the metafield. See the list of supported types.

  • updatedAt (DateTime!)

    The date and time when the storefront metafield was updated.

  • value (String!)

    The value of a metafield.

Types that return Metafield

Implements