---
title: >-
  New range fields available for segment filters in GraphQL 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/new-range-fields-available-for-segment-filters-in-graphql-admin-api
  md: >-
    https://shopify.dev/changelog/new-range-fields-available-for-segment-filters-in-graphql-admin-api.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-03-06T11:04:42-05:00'
  postedAt: '2025-07-01T12:00:00-04:00'
  updatedAt: '2025-03-19T10:58:02-04:00'
  effectiveAt: '2025-04-01T12:00:00-04:00'
---

July 1, 2025

Tags:

* Admin GraphQL API
* 2025-07

# New range fields available for segment filters in GraphQL Admin API

You can now access minimum and maximum range values for segment filters through the GraphQL Admin API. The new `minRange` and `maxRange` fields are available on integer and float segment filters, and event segment filter parameters.

These new fields help you understand the valid range of values that can be used for customer segmentation. The fields are available on the following filter types:

* [SegmentIntegerFilter](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/segmentintegerfilter)
* [SegmentFloatFilter](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/segmentfloatfilter)
* [SegmentEventFilterParameter](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/segmenteventfilterparameter)

Example query:

```graphql
query {
  segmentFilters(first: 50) {
    edges {
      node {
        ... on SegmentIntegerFilter {
          minRange
          maxRange
        }
        ... on SegmentFloatFilter {
          minRange
          maxRange
        }
        ... on SegmentEventFilter {
          parameters {
            minRange
            maxRange
          }
        }
      }
    }
  }
}
```
