MediaMetafield

Object

Fields returned for media metafield.

#

Fields


allowMultiple
Boolean!

Indicates whether the metafield can reference more than one media.

categoryIds
[ID!]!
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.

media
Media

The media referenced by the metafield value. Returns the first media when the metafield allows multiple.

medias
[Media!]!

All media referenced by the metafield value, in the order they were assigned.

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.