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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to update a usageCharge

How to update a usageCharge

WillKickplan
Shopify Partner
1 0 0

Once you have created a usageCharge, how do you update or change it? Why do they have IDs, and a GET interface, if you can't change them?

 

If the charge is for more than it was supposed to be, can you use (REST) ApplicationCredit  or  (Graphql) appCreditCreate to offset the charge? 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 239 535

Hey @WillKickplan

 

That's a great question. Usage charges are applied to the merchants invoice as soon as they are created, so that is why they can't be updated or changed. 

 

The available options for adjustments would be either a credit or a refund. Our documentation here covers the differences, so you can review that to see what will work best for your current billing structure https://shopify.dev/docs/apps/launch/billing#pricing-adjustments 

 

Hope that helps, 

 

- Kyle G.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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