---
title: >-
  Deprecating gates types and fields across the GraphQL Admin, Storefront, and
  Functions APIs - 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/posts/gates-api-sunset'
  md: 'https://shopify.dev/changelog/posts/gates-api-sunset.md'
metadata:
  effectiveApiVersion: ''
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
    - displayName: Functions
      handle: functions-api
    - displayName: Storefront API
      handle: storefront-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation announcement
    handle: deprecation-announcement
  indicatesActionRequired: true
  createdAt: '2025-05-05T19:04:20-04:00'
  postedAt: '2025-05-06T12:00:00-04:00'
  updatedAt: '2025-05-06T10:41:16-04:00'
  effectiveAt: '2025-05-06T12:00:00-04:00'
---

May 6, 2025

# Deprecating `gates` types and fields across the GraphQL Admin, Storefront, and Functions APIs

DateMay 6, 2025

Flags[Deprecation announcement](https://shopify.dev/changelog?filter=deprecation-announcement)[Action required](https://shopify.dev/changelog?action_required=true)

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)[Functions](https://shopify.dev/changelog?api_type=functions-api)[Storefront API](https://shopify.dev/changelog?api_type=storefront-graphql)

Shopify is retiring gates types and fields due to limited usage and our commitment to enhancing developer tools with more robust APIs. To ensure your applications continue to function optimally, we recommend transitioning your implementations to metafields and metaobjects. These solutions offer powerful capabilities for managing structured custom data, seamlessly integrated across Shopify's Admin API, Storefront API, and Functions.

Metafields and metaobjects provide a flexible and efficient way to store and retrieve custom data, enhancing your ability to tailor Shopify experiences to your specific needs. For detailed guidance on migrating your implementations, please refer to our [custom data documentation](https://shopify.dev/docs/apps/build/custom-data).
