To change the online store URL, please follow the steps mentioned below:
Step 1: Go to online store >> Click on Online store settings
Step 2: Update the Store URL >> Click on update store settings.