Skip to main content

App

The App API provides information about the app and the status of its extensions.

Tip

At this time, the App API only supports checkout and customer account UI extensions.

The app.extensions() method asynchronously retrieves detailed information about the app's checkout and customer account extensions, including which targets they are activated on.

It returns a Promise that resolves to an array of ExtensionInfo objects. Each object contains the extension's handle and its activation targets. The array may be empty if the app has no extensions.

[]
required

List of activation records for the extension. Contains information about where the extension is currently activated.

string
required

The unique identifier for the extension.

Was this section helpful?

Get Extensions Status

const extensions = await shopify.app.extensions();