Version 2025-07 is the last API version to support React-based UI components. Later versions use Polaris web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the upgrade guide to upgrade your extension and avoid being blocked from updating your extension after October 1st 2026.
UI API
The API for interacting with the extension’s UI.
Anchor to StandardApiStandard Api
The base API object provided to purchase extension targets.
- Anchor to uiuiuiUiUirequiredrequired
Methods to interact with the extension’s UI.
Ui
- overlay
Allows the extension to close an overlay programmatically. Supported overlay components are [Modal](/docs/api/checkout-ui-extensions/unstable/components/overlays/modal), [Sheet](/docs/api/checkout-ui-extensions/unstable/components/overlays/sheet) and [Popover](/docs/api/checkout-ui-extensions/unstable/components/overlays/popover).
Overlay
Overlay
- close
Closes the overlay with the given ID.
(overlayId: string) => void