#teklets-clear_usage

1 messages · Page 1 of 1 (latest)

violet vessel
#

clear_usage will delete all usage for a given subscription item.

So if you logged a usage previously, and then call clear_usage when deleting the subscription, it wouldn't be reflected in the invoice

#

you can try it out and see how it works

sturdy mural
#

yeesh so that's an aptly named function then.

#

thanks! is there an optimal way to modify a subscription from a metered -> licensed model while keeping the old invoice?

violet vessel
#

by keeping the old invoice do you mean charging for usage?

sturdy mural
#

yeah charging for the old usage

violet vessel