"Time on current plan" etc. accessible via API?

Dan Kamins's Avatar

Dan Kamins

02 Apr, 2010 07:12 AM

Your customer admin interface shows for each customer:

  • TIME AS A CUSTOMER : 7 days

  • TIME ON THE CURRENT PLAN : 7 days

  • CHANGED PRICING PLANS : 0 times

We need this information in our application (such as to restrict users from changing plans more than once per month, etc.). Is it available via API anywhere, and if not is that something you might easily add?

Thank you.

  1. Support Staff 1 Posted by Marc Guyer on 02 Apr, 2010 03:01 PM

    Marc Guyer's Avatar

    The time on the current plan is calculated based on the createdDatetime of the subscription when the current plan was first subscribed to. It could be the current subscription record or an earlier record. A new subscription record is created when a customer either switches plans or their payment information has changed. So, it is possible for there to be more than one consecutive subscription record on the same pricing plan. I hope that helps.

  2. 2 Posted by Dan Kamins on 02 Apr, 2010 06:51 PM

    Dan Kamins's Avatar

    That makes sense, thanks. However this ties in with the confusion in
    http://support.cheddargetter.com/discussions/problems/73-plan-chang...

    There is a new subscription record for my user who changed plans (from free to trial) that shows today as the creation date. But the admin interface still reports 8 days on current plan.

    We don't have to have this conversation in both threads though if you want to answer this issue in the other more detailed one...

  3. Marc Guyer closed this discussion on 02 Apr, 2010 07:52 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM