# Shop The API for interacting with shop. ## OrderStatusApi The API object provided to this and other `customer-account.order-status` extension targets. ### Docs_OrderStatus_ShopApi ### shop Shop where the purchase took place. ### Shop ### id The shop ID. ### myshopifyDomain The shop's myshopify.com domain. ### name The name of the shop. ### storefrontUrl The primary storefront URL. > Caution: As of version `2024-10` this value will no longer have a trailing slash. ## 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 RenderOrderStatusExtensionTarget = RenderOrderStatusExtensionTarget, >(): Shop { const api = useApi(); const extensionTarget = api.extension.target; if (!('shop' in api)) { throw new ExtensionHasNoFieldError('shop', extensionTarget); } return api.shop; } ### Shop ### id The shop ID. ### myshopifyDomain The shop's myshopify.com domain. ### name The name of the shop. ### storefrontUrl The primary storefront URL. > Caution: As of version `2024-10` this value will no longer have a trailing slash.