Version 2025-07 is the last API version to support React-based UI components. Later versions use web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the migration guide to upgrade your extension.
Settings API
The API for interacting with merchant settings.
Anchor to StandardApiStandard Api
The base API object provided to purchase extension targets.
- Anchor to settingssettingssettingsStatefulRemoteSubscribable<ExtensionSettings>StatefulRemoteSubscribable<ExtensionSettings>requiredrequired
The settings matching the settings definition written in the
shopify.extension.tomlfile.Refer to settings examples for more information.
NoteWhen an extension is being installed in the editor, the settings will be empty until a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
Note:When an extension is being installed in the editor, the settings will be empty until a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
Note: When an extension is being installed in the editor, the settings will be empty until a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
ExtensionSettings
The merchant-defined setting values for the extension.
Anchor to useSettingsuse Settings()
Returns the setting values defined by the merchant for the extension.