Skip to main content

Understanding and Renaming Shopify Sales Channel IDs

This article explains how to identify your Shopify Sales Channels and rename them in Polar for easier reporting.

Sachi avatar
Written by Sachi
Updated this week

Overview

Shopify’s API provides numerical Channel IDs, not the actual names of the Sales Channels. This means that when you use a third-party Sales Channel, you’ll see a number (e.g., 1615469) instead of a descriptive name (e.g., “Online Store”).

To make your reports more readable, you can manually map these IDs to their corresponding Sales Channel names using Custom Dimensions.

Find Your Shopify Channel IDs

The best way to locate your Channel IDs is through your Shopify Reports:

  1. Open the Total Sales Over Time report in Shopify.

  2. Add the Sales Channel and Sales Channel ID dimensions.

  3. This will show you which numerical ID corresponds to each Sales Channel.

Additional ways to access channel IDs

  • Directly on your Shopify API as explained in this article.

  • Directly on your Shopify Admin. When you click on the channel, the ID will be at the end of the URL of that newly opened page.

  • From the Shopify Homepage. Click on "View report" after selecting the Sales Channel you want to check. The report will automatically filter on that ID on the next page (see the images below for a visual).

Rename Channels in Polar Using Custom Dimensions

To make these IDs easier to read in Polar, create a Custom Dimension that replaces the numerical IDs with clear names.

How to Create a Custom Dimension

  1. Open the Custom Dimension Builder in Polar.

  2. In the When statement:

    • Select the Sales Channel dimension.

    • Choose the is operator.

    • Enter the Channel ID (e.g., 1615469).

  3. In the Then statement, type the name you want displayed (e.g., “Online Store”).

  4. Add an Else statement to return the original “Sales Channel” dimension for all other values.

  5. Repeat this process for each additional Sales Channel by adding more When–Then blocks.

  6. Save your Custom Dimension.

Your final setup might look like this:

Apply in Your Reports

Once saved, you can use your new Custom Dimension as a breakdown in reports. Instead of seeing numeric IDs, you’ll now see the readable Sales Channel names you defined.

Need Help?

If you have any questions or need help setting this up, reach out to our Support Team using the in-app live chat — we’ll be happy to assist.

Did this answer your question?