Skip to content

Get total size of list items #38

@leechunhoe

Description

@leechunhoe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions