Re: Deletion / Credit of Usage Records

Solved

Deletion / Credit of Usage Records

idango
Shopify Partner
16 0 3

Hi,

 

We recently started developing a feature that is based on the App Usage, but we don't see how a Usage Record can be credited or canceled.

 

Is there any way to do so?

Accepted Solution (1)

Liam
Community Manager
3108 340 871

This is an accepted solution.

Hi Idango,
 
From looking into this, it doesn't seem like there is an option to directly cancel or credit an App Usage Record. Once a UsageCharge has been created and accepted, it cannot be cancelled. It can only be adjusted by creating a separate `ApplicationCredit` event.
 
However, you should note that usage charges are billed separately from recurring application charges and one-time application charges. If an app doesn't use the full amount of its usage charge, then the unused amount can't be refunded. If you've made a mistake in a usage charge, you should create a new usage record with the corrected price. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 340 871

This is an accepted solution.

Hi Idango,
 
From looking into this, it doesn't seem like there is an option to directly cancel or credit an App Usage Record. Once a UsageCharge has been created and accepted, it cannot be cancelled. It can only be adjusted by creating a separate `ApplicationCredit` event.
 
However, you should note that usage charges are billed separately from recurring application charges and one-time application charges. If an app doesn't use the full amount of its usage charge, then the unused amount can't be refunded. If you've made a mistake in a usage charge, you should create a new usage record with the corrected price. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

mingo88
Shopify Partner
1 0 0

Hi, Liam

Can the price of a usage record be a negative value?