We've released a new commerce-oriented type system for metafields. Metafields created with these new types from our APIs will now be more interoperable across our system.
The type system is exposed through a new
type field that replaces the existing
valueType field which is now deprecated. To make the migration easier, this is a non-breaking change. Both fields being supported until 2021-10 when
valueType will be removed.
To learn more about the API changes, refer to the API specific reference documentation:
Theme developers can now use dynamic sources to insert standard metafields and known resource properties as setting defaults.
Learn more about the type system and how to migrate to it in the Metafields documentation.