JsonMetafield

Object

Fields returned for json metafield.

#

Fields


allowEmpty
Boolean

Indicates whether an empty JSON value is allowed and normalized to an empty object.

categoryIds
[ID!]!
defaultValue
String!

The default raw JSON value used when no value is assigned.

hasAssignedValue
Boolean!

Indicates whether this owner has an explicit value assigned for the metafield.

hasCategoryRestrictions
Boolean!

Indicates whether the metafield is limited to specific product categories.

id
ID!

The unique ID of the metafield definition.

key
String!

The key that uniquely identifies this metafield within its namespace.

kind
MetafieldDefinitionKind!

The value kind supported by the metafield definition.

name
String!

The display name of the metafield definition.

namespace
String!

The namespace that groups this metafield definition.

ownerType
MetafieldOwnerType!

The owner type this metafield definition can be assigned to.

value
String!

The validated raw JSON value of the metafield.