Step 1: Go to the Settings.
You have to get to the admin screen of Shopify by logging into your account. Then, choose Settings.
Step 2: Choose Locations.
Step 3: Select the desired location to see its details.
On the detail page, the Location ID will be in the URL of the page, as shown in the illustration below.