Metafield

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

Show definition
# Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are
# comprised of keys, values, and value types.
type Metafield implements Node {
  # Globally unique identifier.
  id: ID!

  # The description of a metafield.
  description: String

  # The key name for a metafield.
  key: String!

  # The namespace for a metafield.
  namespace: String!

  # The value of a metafield.
  value: String!

  # Represents the metafield value type. Accepted values are "string" and "integer".
  valueType: MetafieldValueType!
}

Implements

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.

value   (String!)

The value of a metafield.

valueType   (MetafieldValueType!)

Represents the metafield value type. Accepted values are "string" and "integer".