customerSegmentMembership - admin-graphql - QUERY
Version: unstable
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