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!)

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

  • reference (MetafieldReference)

    Returns a reference object if the metafield definition's type is a resource reference.

  • 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

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.

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!)

    A 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

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.

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!)

    A 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

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.

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!)

    A 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

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.

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!)

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

  • updatedAt (DateTime!)

    The date and time when the storefront metafield was updated.

  • value (String!)

    The value of a metafield.

Types that return Metafield

Implements

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.

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!)

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

  • updatedAt (DateTime!)

    The date and time when the storefront metafield was updated.

  • value (String!)

    The value of a metafield.

Types that return Metafield

Implements

Deprecated fields

  • valueType (MetafieldValueType!) deprecated

    Represents the metafield value type.

    Deprecation warning

    valueType is deprecated and replaced by type in API version 2021-07.