Anchor to customerSegmentMembershipcustomer
customerSegmentMembership
query
Whether a member, which is a customer, belongs to a segment.
Anchor to Arguments
Arguments
- Anchor to customerIdcustomer•
Id ID!required The ID of the customer that has the membership.
- Anchor to segmentIdssegment•
Ids [ID!]!required The segments to evaluate for the given customer.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to SegmentMembershipResponseSegment•
Membership Response A list of maps that contain
IDs and
Booleans. The maps represent segment memberships.
Was this section helpful?
Query Reference
{
customerSegmentMembership(customerId, segmentIds) {
# customerSegmentMembership fields
}
}