Segment query language

Use ShopifyQL to query the GraphQL Admin API for segmentation data. Segmentation data represents data subsets, which merchants have created according to some criteria.

Segmentation data corresponds to saved search queries in the Shopify admin. For example, a merchant can save a search for customers that are subscribed to email marketing. These customers are the segment members.

The following guide explains the syntax for forming queries.