We are building the logic for our email marketing (Klaviyo software) and we need to be able to segment our inactive customers.
To make this happen, we need to know if the customer has any active subscriptions, which might be segmented like this in Klaviyo:
In the Foxycart API docs, I don't see any such property for customers or users that says if they have active/inactive subscriptions (e.g., True/False). Under the API properties for subscriptions I see a True/False for
but a customer could have multiple active/inactive subscriptions. We just need to know if a customer has any
active subscriptions, and if not, we mark them inactive.
Do you guys have any suggestions on how we can get this data via the API or datafeed for our purposes?