# Shop The API for interacting with shop. ## StandardApi The base API object provided to `purchase`, and `customer-account.order-status` extension targets. ### Docs_Standard_ShopApi ### shop value: `Shop` - Shop: export interface Shop { /** * The shop ID. * @example 'gid://shopify/Shop/123' */ id: string; /** * The name of the shop. */ name: string; /** * The primary storefront URL. */ storefrontUrl?: string; /** * The shop's myshopify.com domain. */ myshopifyDomain: string; } Shop where the checkout is taking place. ### Shop ### id value: `string` The shop ID. ### name value: `string` The name of the shop. ### storefrontUrl value: `string` The primary storefront URL. ### myshopifyDomain value: `string` The shop's myshopify.com domain. ## 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. ### name value: `string` The name of the shop. ### storefrontUrl value: `string` The primary storefront URL. ### myshopifyDomain value: `string` The shop's myshopify.com domain. ## 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)