MediaMetafieldDefinition
ObjectFields returned for media metafield definition.
Fields
- Boolean!
allowMultiple Indicates whether the metafield can reference more than one media.
- [ID!]!
categoryIds The category ids associated with this media metafield definition.
- Boolean!
hasCategoryRestrictions The has category restrictions associated with this media metafield definition.
- ID!
id The unique identifier of the resource.
- Boolean!
isPrivate The is private associated with this media metafield definition.
- String!
key The key associated with this media metafield definition.
- MetafieldDefinitionKind!
kind The kind associated with this media metafield definition.
Possible enum valuesDECIMALStores a decimal-number value.
DROPDOWNStores one value selected from a predefined list.
INTEGERStores a whole-number value.
JSONStores structured JSON data.
MEDIAStores a reference to media.
MONEYStores a monetary amount and currency.
PRODUCT_PICKERStores a reference to a product.
TAGSStores multiple text tags.
TEXTStores a text value.
VARIANT_PICKERStores a reference to a product variant.
- String!
name The name associated with this media metafield definition.
- String!
namespace The namespace associated with this media metafield definition.
- MetafieldOwnerType!
ownerType The owner type associated with this media metafield definition.
Possible enum valuesCATEGORYA category can own the metafield.
COLLECTIONA collection can own the metafield.
CUSTOMERA customer can own the metafield.
ORDERAn order can own the metafield.
PRODUCTA product can own the metafield.
PRODUCT_ATTRIBUTEA product attribute can own the metafield.
PRODUCT_ATTRIBUTE_VALUEA product attribute value can own the metafield.
PRODUCT_VARIANTA product variant can own the metafield.
- [String!]!
possibleValues The distinct values currently assigned to this metafield, or the configured options for a dropdown.