FROM CACHE - en_header

Segmentation API now available

Community Moderator
Community Moderator
3231 437 772

In the 2022-04 API version release, Shopify is introducing a Segmentation API for the GraphQL Admin. The API helps app partners support merchants that want to target specific customer groups for marketing, analytics, and reporting. Saved searches and Discount Eligibility based on saved searches, will be deprecated in favor of the Segmentation API. If your app uses saved searches, then you need to migrate your app to support segments.


Updating your app to support segments


If you want your app to support segments, then you'll need to update your app to use the Segmentation API. Review where your app uses a saved search resource and update your apps to use the queries and mutations illustrated in the GraphQL Admin API reference pages. For example, you can use the segmentMigration object to retrieve the segment ID that corresponds to a saved search ID.


How segments work


A segment is a group of customers that meet specific criteria. Merchants can use segments to conduct marketing activities, access information that helps to inform a business decision, or learn more about certain segment member behaviors.


For example, a segment might include members that bought a particular product. A merchant could use the segment to take action by sending a targeted email message to the group members.


For more information on how to update your app, visit our developer documentation.

Trevor | Community Moderator @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Replies 0 (0)