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

Topic summary

A developer has built a Wishlist app hosted on Render and is hardcoding the app URL (https://eglobe-wishlist-app.onrender.com) in their theme extension to make API calls. They’re asking how to publish this app on the Shopify App Store and handle potential URL changes.

Key recommendations provided:

  • Host the app on a stable, production-ready URL, preferably using a custom domain, as Shopify requires consistent endpoints for app validation
  • If the URL changes, update the App Setup URL in the Shopify Partner Dashboard
  • Ensure all embedded app code and theme extensions point to the new URL
  • Use environment variables and config files to manage URL changes more easily across the codebase

Status: The question has been answered with actionable guidance and a reference to Shopify’s app requirements checklist for additional details.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

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