MetafieldCreateInput
InputInput fields accepted for metafield create input.
Fields
- Boolean
allowEmpty The allow empty to use for this metafield create input.
- Boolean
allowMultiple Allows a media metafield to reference more than one media.
- [ID!]
categoryIds The category ids to use for this metafield create input.
- Decimal
defaultDecimal The default decimal to use for this metafield create input.
- Long
defaultInteger The default integer to use for this metafield create input.
- MoneyInput
defaultMoney The default money to use for this metafield create input.
- ID
defaultReferenceProductId The default reference product id to use for this metafield create input.
- ID
defaultReferenceVariantId The default reference variant id to use for this metafield create input.
- [String!]
defaultTags The default tags to use for this metafield create input.
- String
defaultValue The default value to use for this metafield create input.
- Boolean!
isPrivate The is private to use for this metafield create input.
- String!
key The key to use for this metafield create input.
- MetafieldDefinitionKind!
kind The kind to use for this metafield create input.
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.
- Decimal
maxDecimalValue The max decimal value to use for this metafield create input.
- Long
maxIntegerValue The max integer value to use for this metafield create input.
- Decimal
minDecimalValue The min decimal value to use for this metafield create input.
- Long
minIntegerValue The min integer value to use for this metafield create input.
- String!
name The name to use for this metafield create input.
- String!
namespace The namespace to use for this metafield create input.
- [String!]
options The options to use for this metafield create input.
- MetafieldOwnerType!
ownerType The owner type to use for this metafield create input.
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.