Improved

App partners: uninstalling removes webhook subscriptions

Correction: You no longer need to delete a store's webhook subscriptions when a merchant uninstalls your app. When you call Remove Application, or the merchant clicks Disconnect in Yotpo, Yotpo deletes the store's access token and its webhook subscriptions, then sends App Disconnected. Events can keep arriving for about a minute. If the merchant installs your app again, create the store's subscriptions again: reconnecting doesn't restore them.

Don't delete your app subscription when one merchant uninstalls. It covers every store, and it's how you receive App Disconnected.

Also clarified:

  • Loyalty access: there is no Loyalty scope. The token from the standard app install already works on the /loyalty/v3/... partner endpoints. The products you choose when registering your app only label it and set product_lines in App Disconnected.
  • App Disconnected: product_lines is one string in square brackets, for example "[REVIEWS, LOYALTY]".

Updated pages: Authenticating with OAuth 2.0, Retrieve Token Info and Testing your integration.