Custom eCommerce api

hello folks,
I need to get my own domain for the eCommerce website not a subdomain from expNext, if there is any way for that?
if not , any api available in case to build my eCommerce website and integrate erpNext stock management with it ?!!

You can integrate to ERPNext via REST API in case you want to build your own eCommerce site. Another possible solution, if you want your own domain and want to use ERPNext eCommerce is to self-host ERPNext on your own server.

thank for your reply
any link for the REST API where can I integrate it !!?

Please check the following link