--- title: The behavior of HasMetafields.metafields has changed - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/the-behavior-of-hasmetafields-metafields-has-changed md: https://shopify.dev/changelog/the-behavior-of-hasmetafields-metafields-has-changed.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 1, 2022 Tags: * Action Required * API * 2022-07 # The behavior of HasMetafields.metafields has changed As of Storefront API version 2022-07, we're deprecating the `HasMetafields.metafields` paginated connection in the Storefront API. This connection enabled you to paginate over all visible metafields in a given resource. `HasMetafields.metafields` now accepts a list of metafield namespaces and keys, and returns a list of associated metafields that match the given namespaces and keys. The updated endpoint is available in unstable, and will be part of the 2022-07 release. The existing paginated behaivor is available in 2022-04 and prior supported stable versions. For more information, refer to the [`HasMetafields`](https://shopify.dev/api/storefront/unstable/interfaces/hasmetafields) interface.