Usage Billing with the Shopify Billing API

Before you begin

In this workshop we will be adding a usage based billing workflow to the app template generated by the Shopify CLI. This workshop will use the app template using Node.js for the backend and React for the frontend. Usage based billing will allow you to charge merchants based off of how much they use your app, or use certain features within your app.

After completing this workshop you will have experience with:

  • Using the Shopify API library to prompt users to accept a Usage Based subscription on install
  • Create Usage Records to increase the amount a merchants will be charged
  • Prompt a merchant to increase their plan if they reach their usage limit
  • Subscribe to webhooks to be notified about changes to a merchant's subscription