Key Scenarios of Webhook Events

The events emitted by different scenarios are listed in the following.

When a merchant installs a free application

  1. application.install
  2. subscription_record.start
  3. application_subscription.create

When a merchant begins a paid app subscription

  1. application.install
  2. subscription_record.start
  3. application_subscription.create

When a recurring app subscription ends, and the next recurring app subscription starts

  1. subscription_record.end
  2. subscription_record.start

App subscription grace period ends

  1. subscription_record.end
  2. application_subscription.delete
  3. application.uninstall

When a merchant's SHOPLINE main subscription ends and enters the grace period

  1. subscription_record.end
  2. subscription_record.start (a new recurring record will be immediately created for the grace period)

Main subscription grace period ends

  1. subscription_record.end
  2. application_subscription.delete
  3. application.uninstall

When a merchant starts a free trial of an application

  1. application.install
  2. application_subscription.create

When a free trial period ends

  1. application_subscription.delete
  2. application.uninstall

When a merchant begins a custom subscription

  1. application.install
  2. subscription_record.start