customerSegmentMembership - admin-graphql - QUERY
Version: 2024-10
Description:
Whether a member, which is a customer, belongs to a segment.
Access Scopes
Arguments
-
customerId:
ID! -
The ID of the customer that has the membership.
-
segmentIds:
ID! -
The segments to evaluate for the given customer.
Returns
-
memberships:
SegmentMembership!
The membership status for the given list of segments.
Examples