--- title: useShop description: Returns the `Shop` where the checkout is taking place. api_version: 2023-04 api_name: checkout-ui-extensions source_url: html: >- https://shopify.dev/docs/api/checkout-ui-extensions/2023-04/react-hooks/metadata/useshop md: >- https://shopify.dev/docs/api/checkout-ui-extensions/2023-04/react-hooks/metadata/useshop.md --- # use​Shop 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 - CartLineDetailsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cartlinedetailsapi) [APIs - PickupPointsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/pickuppointsapi) [APIs - PickupLocationsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/pickuplocationsapi) [APIs - ShippingMethodDetailsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/shippingmethoddetailsapi) [APIs - ExtensionPoints](https://shopify.dev/docs/api/checkout-ui-extensions/apis/extensionpoints)