API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

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.

updatedAt (DateTime!)

The date and time when the storefront metafield was updated.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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.

updatedAt (DateTime!)

The date and time when the storefront metafield was updated.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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.

updatedAt (DateTime!)

The date and time when the storefront metafield was updated.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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.

updatedAt (DateTime!)

The date and time when the storefront metafield was updated.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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.

updatedAt (DateTime!)

The date and time when the storefront metafield was updated.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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

Fields

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.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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

Fields

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.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements

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

Fields

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.

value (String!)

The value of a metafield.

valueType (MetafieldValueType!)

Represents the metafield value type.

Types that return Metafield

Implements