add custom domain to store using API

add custom domain to store using API

ram_bahadur
Visitor
1 0 0

I am looking for API endpoint that allows me to add Custom domain (connect existing domains) to my Store. I have looked over Shopify Admin API but could not find the endpoint / graphQL query for this.

I would really appreciate if someone could help me here.

 

 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 508

Hey @ram_bahadur,

The store admin offers a suite of features for managing, adding, and configuring custom domains on a store. You are correct that there are currently no APIs that extend these features into the API. 

Generally the Admin API is intended for building new features and functionalities into the Shopify experience, and there isn't always parity between the features in the admin and APIs - for more info on building with our APIs see our docs here. 

Cheers!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog