Metafield object

Metafields enable you to attach additional information to a Shopify resource, such as a Product or a Collection. For more information about the Shopify resources that you can attach metafields to, refer to HasMetafields.


  • type (String!)

    The type of data that the metafield stores in the value field. Refer to the list of supported types.

  • value (String!)

    The data to store in the metafield. The data is always stored as a string, regardless of the metafield's type.

Types that return Metafield