#Mota
1 messages · Page 1 of 1 (latest)
Hey there, can you explain more about what you're trying to do, and what you've tried already?
Is something not working like you expect?
I'm trying to get the subscription activity history, and from what I've seen the events are the best way
the thing is, from the api I can only get events up to the last 30 days, and I want the lifetime events
so I was wondering if there is a way to get all ids from the events related to a subscription
Event retrieval is limited to 30 days, thats accurate. See here:
List events, going back up to 30 days.
so there's no way I can get all event for a subscription?
Correct, there is not. Instead, you can look at the Invoice and Payment objects, but events past 30 days are not available.
the thing is, invoices and payment objects don't give all the information that I need
What information are you trying to get?
everything since plan changes, applied discounts, manual cancellations and reactivations
everything that helps me build a timeline of the subscription activity throughout its lifetime
Unfortunately that's not something you're going to be able to get from old events beyond 30 days. You will likely need to look at building a simplified history based on the subscription and invoice objects, such as start date and renewals etc.
You can look at invoice items on invoices over time to see when plans/prices might have changed
that's what I'm doing at the moment, but there's still some info missing
Yea certain action might not leave any imprint on the invoice or subscription objects, such as scheduling a future cancellation that is subsequently undone
that's why I wanted to get the events ids, so I could get them and build the timeline based on them