Migrate to Polaris
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.
Shop API
The API for interacting with shop.
Anchor to StandardApiStandard Api
The base API object provided to purchase extension targets.
- Anchor to shopshopshopShopShoprequiredrequired
The shop where the checkout is taking place.
Shop
- id
The shop ID.
string - myshopifyDomain
The shop's myshopify.com domain.
string - name
The name of the shop.
string - storefrontUrl
The primary storefront URL. The URL doesn't include a trailing slash.
string
Anchor to useShopuse Shop()
use Shop()
Returns the Shop where the checkout is taking place.
Anchor to useShop-returnsReturns
ShopShop
Was this page helpful?