--- 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 metadata: effectiveApiVersion: 2022-07 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Deprecation Announcement handle: deprecation indicatesActionRequired: true createdAt: '2022-04-13T15:00:34-04:00' postedAt: '2022-07-01T00:00:00-04:00' updatedAt: '2024-12-13T17:24:34-05:00' effectiveAt: '2022-07-01T00:00:00-04:00' --- 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.