--- title: useShop description: Returns the `Shop` where the checkout is taking place. api_version: 2023-07 api_name: checkout-ui-extensions source_url: html: >- https://shopify.dev/docs/api/checkout-ui-extensions/2023-07/react-hooks/metadata/useshop md: >- https://shopify.dev/docs/api/checkout-ui-extensions/2023-07/react-hooks/metadata/useshop.md --- # use​Shophook Returns the `Shop` where the checkout is taking place. ## use​Shop() ### 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 ``` ```ts 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; } ``` ## Related [APIs - StandardApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi) [APIs - CheckoutApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/checkoutapi) [APIs - OrderStatusApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/orderstatusapi) [APIs - CartLineItemApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cartlineitemapi) [APIs - PickupPointListApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/pickuppointlistapi) [APIs - PickupLocationListApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/pickuplocationlistapi) [APIs - ShippingOptionItemApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/shippingoptionitemapi) [APIs - ExtensionTargets](https://shopify.dev/docs/api/checkout-ui-extensions/apis/extensiontargets)