The API for interacting with shop.
The base API object provided to `purchase` extension targets.
The shop where the checkout is taking place.
The shop ID.
The shop's myshopify.com domain.
The name of the shop.
The primary storefront URL. > Caution: > As of version `2024-04` this value will no longer have a trailing slash.
Returns the `shop` where the checkout is taking place.
Returns the `Shop` where the checkout is taking place.
export function useShop< Target extends RenderExtensionTarget = RenderExtensionTarget, >(): Shop { return useApi<Target>().shop; }
The shop ID.
The shop's myshopify.com domain.
The name of the shop.
The primary storefront URL. > Caution: > As of version `2024-04` this value will no longer have a trailing slash.