Shopify has introduced a new rfmGroup field to the GraphQL Admin API, giving developers direct access to customer RFM (Recency, Frequency, Monetary) analytics. This field is now available through the statistics object on the Customer endpoint, enabling programmatic access to customer segmentation data that was previously difficult to obtain through the API.
RFM analysis is a proven customer segmentation strategy that helps businesses identify their most valuable customers and those at risk of churning. By exposing this data through the GraphQL Admin API, Shopify empowers developers to build smarter automation, personalization engines, and marketing tools directly into their applications without manual data exports or third-party integrations.
For agencies and app developers, this means you can now create more intelligent customer targeting workflows, dynamic email campaigns, and retention strategies—all powered by native Shopify data in real-time.
If you're building Shopify apps that leverage the GraphQL Admin API, GetShopifyToken simplifies OAuth authentication and token management, so you can focus on implementing powerful features like RFM-based segmentation without worrying about credential handling.