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.
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