The package upgrade brings breaking changes to the Metrics API. All other APIs remain unaffected. Please note the following changes:
- If you used the Metrics API to get a customer's activities or subscriptions, make the following changes in the namespace
api.MetricsListSubscriptions(&cm.Cursor{PerPage: 1},"cus_922c2672-ee04-11e6-bea8-7fac984477db")
should be replaced withapi.MetricsListCustomerSubscriptions(&cm.Cursor{PerPage: 1},"cus_922c2672-ee04-11e6-bea8-7fac984477db")
api.MetricsListActivities(&cm.Cursor{PerPage: 1},"cus_922c2672-ee04-11e6-bea8-7fac984477db")
should be replaced withapi.MetricsListCustomerActivities(&cm.Cursor{PerPage: 1},"cus_922c2672-ee04-11e6-bea8-7fac984477db")