Checkout domain Masking

I hope you are well. I have an issue with Shopify storefront API. I am using the Shopify storefront checkoutCreate mutation (ref: Building with the Storefront API ) to get webUrl, this mutation return webUrl with store primary domain eg. (abc.myshopify.com ) not (abc.com), so when I mask eg abc.myshopify.com to abc.com by Javascript, the association of customer using mutation checkoutCustomerAssociateV2 (ref: Building with the Storefront API ) not maintained. let me know if is there any solution to this issue. Thanks