--- 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 --- [Back to Developer changelog](https://shopify.dev/changelog) 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 } } } ```