MediaMetafield
ObjectFields returned for media metafield.
Fields
- Boolean!
allowMultiple Indicates whether the metafield can reference more than one media.
- [ID!]!
categoryIds - Boolean!
hasAssignedValue Indicates whether this owner has an explicit value assigned for the metafield.
- Boolean!
hasCategoryRestrictions Indicates whether the metafield is limited to specific product categories.
- ID!
id The unique ID of the metafield definition.
- String!
key The key that uniquely identifies this metafield within its namespace.
- MetafieldDefinitionKind!
kind 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.
- [Media!]!
medias All media referenced by the metafield value, in the order they were assigned.
- String!
name The display name of the metafield definition.
- String!
namespace The namespace that groups this metafield definition.
- MetafieldOwnerType!
ownerType The owner type this metafield definition can be assigned to.