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.
Anchor to extensions methodExtensions method
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 objects. Each object contains the extension's handle and its activation targets. The array may be empty if the app has no extensions.
Anchor to activations
activations
[]
required
List of activation records for the extension. Contains information about where the extension is currently activated.
Anchor to handle
handle
string
required
The unique identifier for the extension.
Was this section helpful?
Get Extensions Status
const extensions = await shopify.app.extensions();