AlmondTill/G3N API

SegmentPredicateInput

input type

The dynamic rule input — ≥1 axis, unique members per list; every ref in-tenant + active at write.

Fields

FieldTypeRequiredNotes
interestsString [String!]noInterests a shopper has declared — 1 to 16; a shopper with any of them matches.
loyaltyTierSegmentLoyaltyTierAxisInputnoA loyalty program and the tiers within it a shopper must hold.
consentPurposeIdsID [ID!]noThe ids of consent purposes the shopper must have granted — any one of them matches.
preferredLogicalFacilityIdsID [ID!]noThe ids of locations the shopper prefers — any one of them matches.
birthdayWithinDaysIntnoShoppers whose birthday falls within this many days — 1 to 366.
purchaseSegmentPurchaseAxisInputnoPurchase facts a shopper must meet — recency, frequency and spending; each stands alone and all supplied must hold.
tagIdsID [ID!]noThe tag axis (at most 16, unique) — each ref in-tenant + active at write.