Question About Hosting Shopify App and Managing App URL for API Calls

Hi,
I have built a Wishlist app and hosted it using Render. In my code, I’m calling the API from the theme extension using the app URL like this:

const appUrl = “https://eglobe-wishlist-app.onrender.com”;

fetch(${appUrl}/api/wishlist?customerId=${customerId}&productId=${productId}&shop=${shop}&variantId=${variantId});

I have a question:
How can I host this app on the Shopify App Store? If the app URL changes, how should I handle that?

1 Like

Hey @greeshma

To publish it on the Shopify App Store, you’ll need to host your app on a stable, production-ready URL—preferably a custom domain—since Shopify requires a consistent endpoint for app validation and merchant use.

If your app URL changes (e.g., moving from Render to a dedicated host), you’ll need to update the App Setup URL in your Shopify Partner Dashboard, and also ensure your embedded app and theme extension code point to the new URL. Using environment variables and a config file can make this switch easier in your codebase.

For further details, checkout This Article

Best,

Moeed