Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello!
I am currently building a Checkout UI Extension that needs to make an API call to my Shopify APP. Is there a way to obtain my app's current domain without setting it as a hardcoded variable?
Thank you very much.
If you want the myshopify url, there's this: https://shopify.dev/docs/api/checkout-ui-extensions/unstable/apis/standardapi#properties-propertydet...
const { shop } = useExtensionApi();
shop.myshopifyDomain
Thanks for the info, but I am looking for my app's url, not the store's