Third party domain to myshopify.com domain

dabedala
Shopify Partner
18 1 0

Background

Hi team,

I have a public app, and when customers register to my website they use third party domains such as "https://example.com", meanwhile website is a Shopify store, and has a myshopify domain such as "https://example-website.myshopify.com"

 

i can only call GraphQL/REST API hits to the ".myshopify.com" domain. So my ask is:

 

Question

Is there any API i can hit to translate "https://example.com" to "https://example-website.myshopify.com"? if not API, is there any other way programmatically?

Replies 0 (0)