Ecom Store Pro

How do you find a product ID in Shopify?

Published ·
At a glance
Short answer
Open the product in your Shopify admin: the number after /products/ in the browser address bar is its product ID.
From an app or developer
gid://shopify/Product/123 is the global ID of product 123.
Product CSV
In October 2026 the column reference listed 43 columns, none a numeric product ID; the URL handle identifies each product.

Where the product ID is in the Shopify admin

Shopify's help page gives three steps:

  1. Go to Products.
  2. Click the product.
  3. Read the number after /products/ in the address bar: in admin.shopify.com/store/shopname/products/1234567, the ID is 1234567.
In Shopify adminOpen in your store
  1. Products
Step 2: on this page, the product ID is the number after /products/ in your address bar.

Product ID vs variant ID, SKU and handle

Four identifiers get mixed up:

IdentifierIdentifiesLooks likeWhere you see it
Product IDThe productA number, such as 1234567After /products/ in the admin URL
Variant IDOne variant (a product with no variants still has a variant ID)A numberAfter /variants/ on a variant's page; not in the URL for a product without variants
SKUOne variantYour own optional code; should differ per variantThe product CSV's SKU column
URL handleThe productText based on the title by defaultProduct URL and product CSV

For a variant ID, including on a product without variants, see finding a Shopify variant ID.

An app or developer may send gid://shopify/Product/123: the GraphQL Admin API's global ID for product 123. The legacy REST Admin API uses the plain number.

Does the product CSV include product IDs?

Not in the column reference we read in October 2026: it lists 43 columns, and none is a numeric product ID. Shopify's CSV help page calls the identifying column the URL handle, “The unique identifier for each product,” based on the Title by default; see how an import treats existing products.

To reconcile with an app, take the ID from the admin or from what the app or your developer reads through Shopify's APIs.

Before you edit option columns in a product CSV
Changing the Option1, Option2 or Option3 value columns of a product CSV deletes existing variant IDs and creates new ones, which can break an app that depends on the old IDs.
About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Products & inventory
Does importing a product CSV overwrite existing Shopify products?

Only with Overwrite products with matching handles selected; then each column you include, even a blank one, replaces existing values

Updated October 21, 2026

Products & inventory
Where do you see how many products you have on Shopify?

The Products page shows no full count: /count.json gives products only; of Shopify's three methods, only a CSV export also covers variants.

October 14, 2026

Products & inventory
How many products can you have on Shopify?

Unlimited on every Shopify plan; the caps are per product (2,048 variants, three options) and on very large imports.

October 15, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.