Hi there, I am working on an integration and would like to auto-create some segments for our users. Some segments will be based on dates within custom fields. For example: - Customers who have made a purchase in the past 30/60/90 days. - Customers who have made a purchase more than 30/60/90 days ago. The first one seems possible using something like this: "name": "Made a purchase in last 90 days",
"segment_criteria": [
"version": "1.0.0",
"criteria": [
"type": "and",
"group": [
[
"source": "contact",
"custom_field": "wylie_last_purchase",
"op": "contains-any",
"const_date_value": "last-n-days",
"date_param": "90",
]
]
]
] However I am not sure how to do the second one. Is there an operator that does the opposite of "contains-any" for dates?
... View more