DecimalMetafield
ObjectFields returned for decimal metafield.
Fields
- Boolean
allowEmpty Indicates whether the metafield may have no decimal value.
- [ID!]!
categoryIds The category ids associated with this decimal metafield.
- Decimal
defaultValue The default decimal value used when no value is assigned.
- 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.
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
maxValue The maximum value allowed for the metafield.
- Decimal
minValue The minimum value allowed for the metafield.
- 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.
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.
- Decimal
value The resolved decimal value of the metafield.