Hello everyone,
I am working on ensuring my app meets the latest Shopify API requirements regarding customer segmentation. Specifically, I am trying to resolve the following two dashboard flags:
-
Request segments query in the last 30 days
-
Has queried customerSegmentMembers in the last 30 days
I have implemented the following GraphQL queries in my application code to address these, but the flags remain “unmet.”
**Query 1: Fetching Segments
**
query GetCustomerSegments {
segments(first: 10) {
edges {
node {
id
name
query
}
}
}
}
**Query 2: Fetching Members for a specific segment
**
query GetSegmentMembers {
customerSegmentMembers(first: 5, segmentId: “gid://shopify/Segment/598845063465”) {
edges {
node {
id
defaultEmailAddress {
emailAddress
}
}
}
}
}
My Questions:
-
Is there a specific API Version (e.g., 2024-01 or 2024-04) required for these to be registered as “active” in the partner dashboard?
-
Does the query need to be triggered by a production store install, or do Development Store queries count toward clearing these flags?
-
Are there specific scopes (like
read_customer_segmentation) that must be explicitly active for these queries to “count,” even if the query technically returns data?
Any guidance from the community or the Shopify team would be greatly appreciated. Thank you!
