---
title: >-
  Customer RFM group now available 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/customer-rfm-group-now-available-in-graphql-admin-api
  md: >-
    https://shopify.dev/changelog/customer-rfm-group-now-available-in-graphql-admin-api.md
metadata:
  effectiveApiVersion: 2025-04
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-03-06T11:05:24-05:00'
  postedAt: '2025-04-01T12:00:00-04:00'
  updatedAt: '2025-03-13T12:55:22-04:00'
  effectiveAt: '2025-04-01T12:00:00-04:00'
---

April 1, 2025

Tags:

* Admin GraphQL API
* 2025-04

# Customer RFM group now available in GraphQL Admin API

You can now access a customer's RFM (Recency, Frequency, Monetary) group through the GraphQL Admin API. This new `rfmGroup` field in customer statistics helps you understand customer engagement and purchasing patterns.

The `rfmGroup` field is available through the `statistics` field on the `Customer` object. You can use this information to segment customers based on their purchasing behavior and create targeted marketing campaigns.

For more detailed information, please refer to the [official documentation](https://shopify.dev/docs/api/admin-graphql/2025-04/objects/CustomerStatistics).

Example query:

```graphql
query {
  customer(id: "gid://shopify/Customer/1") {
    statistics {
      rfmGroup
    }
  }
}
```
