MetaobjectField
object
A single metafield contained in a metaobject.
Fields
A unique identifier for a metafield within its namespace.
The data type for the metafield. Valid values are:
single_line_text_field: A single-line text fieldlist.single_line_text_field: Multiple single-line text fieldsmulti_line_text_field: Multi-line text fieldrich_text_field: Rich text fieldcolor: A single colorlist.color: Multiple colorsdate: A single datelist.date: Multiple datesdate_time: A single date and time. Format: ISO 8601.list.date_time: Multiple dates and times. Format: ISO 8601.url: A single URLlist.url: Multiple URLsfile_reference: A single file. Support a PDF or image file within 10 MB. Supported image formats: JPG, JPEG, PNG, and GIF.list.file_reference: Multiple files. Support PDF or image files and each file must be within 10 MB. Supported image formats: JPG, JPEG, PNG, and GIF.json: JSONweight: A single weight with a unitlist.weight: Multiple weights with unitsvolume: A single volume with a unitlist.volume: Multiple volumes with unitsdimension: A single size with a unitlist.dimension: Multiple sizes with unitsnumber_integer: A single integerlist.number_integer: Multiple integersnumber_decimal: A single decimallist.number_decimal: Multiple decimalsrating: A single ratinglist.rating: Multiple ratingspage_reference: A single pagelist.page_reference: Multiple pagesproduct_reference: A single productlist.product_reference: Multiple productsvariant_reference: A single product variantlist.variant_reference: Multiple product variantscollection_reference: A single product collectionlist.collection_reference: Multiple product collectionsboolean: Boolean type. Valid values aretrueandfalse.money: Amount with a currency
For more information about metafields, refer to Guide to Using Metafields Feature.
The data stored in the metafield.
Map
Field from
MetaobjectField
Was this article helpful to you?