---
title: Removal of Customer search filters on Admin API - 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/removal-of-customer-search-filters-on-admin-api
  md: >-
    https://shopify.dev/changelog/removal-of-customer-search-filters-on-admin-api.md
metadata:
  effectiveApiVersion: 2024-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
    - displayName: Admin REST API
      handle: admin-rest
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: true
  createdAt: '2024-06-10T17:22:50-04:00'
  postedAt: '2024-07-01T00:00:00-04:00'
  updatedAt: '2024-08-13T13:16:35-04:00'
  effectiveAt: '2024-07-01T00:00:00-04:00'
---

July 1, 2024

Tags:

* Action Required
* Admin GraphQL API
* Admin REST API
* 2024-07

# Removal of Customer search filters on Admin API

As of GraphQL Admin API version **2024-07**, the following Customer filters in the search syntax have been deprecated: `total_spent`, `orders_count`, `accepts_marketing`, `customer_date`, `last_abandoned_order_date`, `order_date`, `tag`, `tag_not`, `city`, `province`, `state`, `territory_code`, `country`, `company`, `email_marketing_state`, `sms_marketing_state`. Filtering customers by these attributes is available when querying customers using segments.

Learn more about customer segmentation on [Shopify.dev](https://shopify.dev/docs/apps/marketing/customer-segments).
