Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Best practice of enforcing app usage

Best practice of enforcing app usage

idango
Shopify Partner
16 0 3

Hi there,

 

I am using the app usage API, and I wonder what's the best way to understand when a new billing cycle has started, as the `APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT` tells whenever it got to 90%. Still, I'm looking for the right webhook that will tell me when the billing cycle restarted so I can understand the merchant is out of the approaching capped amount area.

 

Also, is there any way to query for the current used amount of a spending limit?

 

Thanks.

Replies 0 (0)