--- title: Shop description: The API for interacting with shop. api_version: 2024-01 api_name: checkout-ui-extensions source_url: html: 'https://shopify.dev/docs/api/checkout-ui-extensions/2024-01/apis/shop' md: 'https://shopify.dev/docs/api/checkout-ui-extensions/2024-01/apis/shop.md' --- # Shop The API for interacting with shop. ## StandardApi The base API object provided to `purchase`, and `customer-account.order-status` extension targets. * **shop** **Shop** **required** Shop where the checkout is taking place. ### Shop * id The shop ID. ```ts string ``` * name The name of the shop. ```ts string ``` * storefrontUrl The primary storefront URL. ```ts string ``` * myshopifyDomain The shop's myshopify.com domain. ```ts string ``` ## use​Shop() Returns the `shop` where the checkout is taking place. ### Returns * **Shop** ### ### Shop * **id** **string** The shop ID. * **name** **string** The name of the shop. * **myshopifyDomain** **string** The shop's myshopify.com domain. * **storefrontUrl** **string** The primary storefront URL. ### Shop * id The shop ID. ```ts string ``` * name The name of the shop. ```ts string ``` * storefrontUrl The primary storefront URL. ```ts string ``` * myshopifyDomain The shop's myshopify.com domain. ```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)