TextMetafieldDefinition
ObjectFields returned for text metafield definition.
Fields
- Boolean
allowEmpty The allow empty associated with this text metafield definition.
- [ID!]!
categoryIds The category ids associated with this text metafield definition.
- String!
defaultValue The default value associated with this text metafield definition.
- Boolean!
hasCategoryRestrictions The has category restrictions associated with this text metafield definition.
- ID!
id The unique identifier of the resource.
- Boolean!
isPrivate The is private associated with this text metafield definition.
- String!
key The key associated with this text metafield definition.
- MetafieldDefinitionKind!
kind The kind associated with this text 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 text metafield definition.
- String!
namespace The namespace associated with this text metafield definition.
- MetafieldOwnerType!
ownerType The owner type associated with this text 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.