Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get total size of list items #38

Open
leechunhoe opened this issue May 15, 2019 · 0 comments
Open

Get total size of list items #38

leechunhoe opened this issue May 15, 2019 · 0 comments

Comments

@leechunhoe
Copy link

leechunhoe commented May 15, 2019

I have a requirement of getting the total number of Subscriptions of specific plan within duration of one month.

A work around is to use ChargeBee::Subscription.list( ... ).count and set the limit to a very big number (and use next_offset, if ever needed).

To save resources, is there a better way of getting the total items count?

https://apidocs.chargebee.com/docs/api/subscriptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant