Scenario 1 - Testing with the SegmentsCompatibleWith Filter

Send an eligibility request using the SegmentCompatibleWith filter.

Procedure

  1. Create three products: Phone1, Phone2, Phone3.
  2. Set the following segment type and segment names for Phone1, Phone2, and Phone3:
    • Phone1 is compatible with segmentType = country and segmentName = US.
    • Phone2 is compatible with segmentType = country and segmentName = Canada.
    • Phone3 is compatible with segmentType = country and segmentName = US.
  3. Request eligible products with the segment filter as segmentType = country and segmentName = US.

Result

Passing this specific segment filter in the eligibility request retrieves Phone1 and Phone3 as eligible products for the order because they are compatible with the segment type.