Skip to main content

Support API

The Support API lets you register a custom handler when merchants request support through App Bridge. This handler is triggered when a merchant clicks the support button at the top of the app, allowing you to provide in-app support such as opening a live chat widget.

Tip

To register a custom support callback, you must define a Support link extension that points to a page within your app. Without this extension, the support callback is ignored.

  • Custom support flows: Register a handler to customize what happens when merchants click the support button.
  • In-app help: Redirect support requests to your app's custom help system or knowledge base.
  • Support routing: Route support requests based on context, like the current page or merchant plan.
  • Integrated assistance: Provide integrated support experiences without leaving the app.

The support object provides a method that registers a callback function to run when support is requested.

Anchor to registerHandler
registerHandler
(callback: ) => Promise<void>

Registers a callback function to run when the merchant clicks the support button. Pass null to unregister a previously registered handler.


Was this page helpful?