MoneyMetafield
ObjectFields returned for money metafield.
Fields
- Boolean!
hasAssignedValue Indicates whether this owner has an explicit value assigned for the metafield.
- 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.
- Money
money The resolved monetary value of 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.