# Shop The API for interacting with shop. ## StandardApi The base API object provided to `purchase` extension targets. ### Docs_Standard_ShopApi ### shop value: `Shop` The shop where the checkout is taking place. ### Shop ### id value: `string` The shop ID. ### myshopifyDomain value: `string` The shop's myshopify.com domain. ### name value: `string` The name of the shop. ### storefrontUrl value: `string` The primary storefront URL. > Caution: > As of version `2024-04` this value will no longer have a trailing slash. ## Related - [Targets](https://shopify.dev/docs/api/checkout-ui-extensions/targets) - [Components](https://shopify.dev/docs/api/checkout-ui-extensions/components) - [Configuration](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) - [Tutorials](/apps/checkout) ## useShop Returns the `shop` where the checkout is taking place. ### UseShopGeneratedType Returns the `Shop` where the checkout is taking place. #### Returns: Shop export function useShop< Target extends RenderExtensionTarget = RenderExtensionTarget, >(): Shop { return useApi().shop; } ### Shop ### id value: `string` The shop ID. ### myshopifyDomain value: `string` The shop's myshopify.com domain. ### name value: `string` The name of the shop. ### storefrontUrl value: `string` The primary storefront URL. > Caution: > As of version `2024-04` this value will no longer have a trailing slash. ## Related - [Targets](https://shopify.dev/docs/api/checkout-ui-extensions/targets) - [Components](https://shopify.dev/docs/api/checkout-ui-extensions/components) - [Configuration](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) - [Tutorials](/apps/checkout)