Skip to main content
Log inSign up

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.

Was this section helpful?