SegmentPredicateInput
input type
The dynamic rule input — ≥1 axis, unique members per list; every ref in-tenant + active at write.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
interests | String [String!] | no | Interests a shopper has declared — 1 to 16; a shopper with any of them matches. |
loyaltyTier | SegmentLoyaltyTierAxisInput | no | A loyalty program and the tiers within it a shopper must hold. |
consentPurposeIds | ID [ID!] | no | The ids of consent purposes the shopper must have granted — any one of them matches. |
preferredLogicalFacilityIds | ID [ID!] | no | The ids of locations the shopper prefers — any one of them matches. |
birthdayWithinDays | Int | no | Shoppers whose birthday falls within this many days — 1 to 366. |
purchase | SegmentPurchaseAxisInput | no | Purchase facts a shopper must meet — recency, frequency and spending; each stands alone and all supplied must hold. |
tagIds | ID [ID!] | no | The tag axis (at most 16, unique) — each ref in-tenant + active at write. |