--- title: Shop description: The API for interacting with shop. api_version: 2026-01 api_name: checkout-ui-extensions source_url: html: https://shopify.dev/docs/api/checkout-ui-extensions/latest/apis/shop md: https://shopify.dev/docs/api/checkout-ui-extensions/latest/apis/shop.md --- # Shop The API for interacting with shop. ## StandardApi The base API object provided to `purchase` extension targets. * **shop** **Shop** **required** The shop where the checkout is taking place. ### Shop * id The shop ID. ```ts string ``` * myshopifyDomain The shop's myshopify.com domain. ```ts string ``` * name The name of the shop. ```ts string ``` * storefrontUrl The primary storefront URL. > Caution: > As of version \`2024-04\` this value will no longer have a trailing slash. ```ts string ``` ## use​Shop() Returns the `shop` where the checkout is taking place. ### Returns * **Shop** ### ### Shop * **id** **string** The shop ID. * **myshopifyDomain** **string** The shop's myshopify.com domain. * **name** **string** The name of the shop. * **storefrontUrl** **string** The primary storefront URL. **Caution:** \> As of version \2024-04\ this value will no longer have a trailing slash. ### Shop * id The shop ID. ```ts string ``` * myshopifyDomain The shop's myshopify.com domain. ```ts string ``` * name The name of the shop. ```ts string ``` * storefrontUrl The primary storefront URL. > Caution: > As of version \`2024-04\` this value will no longer have a trailing slash. ```ts string ``` ## Related [Reference - Targets](https://shopify.dev/docs/api/checkout-ui-extensions/targets) [Reference - Components](https://shopify.dev/docs/api/checkout-ui-extensions/components) [Reference - Configuration](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) [Learn - Tutorials](https://shopify.dev/apps/checkout)