{"id":7642,"date":"2022-06-16T05:58:17","date_gmt":"2022-06-16T09:58:17","guid":{"rendered":"https:\/\/onecommerce.io\/blog\/?p=7642"},"modified":"2023-04-24T02:15:30","modified_gmt":"2023-04-24T06:15:30","slug":"shopify-product-id","status":"publish","type":"post","link":"https:\/\/onecommerce.io\/blog\/2022\/06\/16\/shopify-product-id\/","title":{"rendered":"How to Find Shopify Product ID and Variant ID in Just 3 Mins"},"content":{"rendered":"<p><i><span style=\"font-weight: 400;\">Finding your Shopify product ID and variant ID is crucial for managing your store and keeping track of your inventory.\u00a0<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">There are several ways to find the <\/span><\/i><a href=\"https:\/\/onecommerce.io\/blog\/shopify-product-id\/#shopify_product_id\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\"><b><i>Shopify product ID<\/i><\/b><\/a><i><span style=\"font-weight: 400;\"> and <\/span><\/i><b><i>variant ID<\/i><\/b><i><span style=\"font-weight: 400;\">. You can find both of them on the Shopify storefront as a real customer or on the Shopify dashboard as an admin.\u00a0<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">Fortunately, it&#8217;s a quick and easy process that can be done in just a few minutes. With a few quick steps in this article, you can easily find the IDs of each product in only 3 mins.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">To the new merchants, you may not know the difference between product ID and variant ID. Don\u2019t worry, let me explain something about this, and next you can follow my tutorial to find those IDs.<\/span><\/i><\/p>\n<h2><b>What is the difference between Shopify product ID and variant ID?<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><b>Product ID<\/b><span style=\"font-weight: 400;\">: The product id is the number string at the end of the URL, it is generated to distinguish between a product and another product on your Shopify store.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Variant ID<\/b><span style=\"font-weight: 400;\">: A variant ID is a numerical value that is attached to a variation of a product in Shopify. It is a system-generated unique code per variant of each product in Shopify.\u00a0<\/span><\/li>\n<\/ul>\n<p><b>For example<\/b><span style=\"font-weight: 400;\">: if you have a product that comes in different sizes (small, medium, large), you can create variants for each size. Or, if you have a product that comes in different colors (pink, blue, white,..), you can create variants for each color.\u00a0<\/span><\/p>\n<div id=\"attachment_7809\" style=\"width: 810px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-7809\" class=\"wp-image-7809 size-full\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/06\/Variant-Product-IDs-01-1.jpg\" alt=\"Shopify product ID \" width=\"800\" height=\"872\" title=\"\"><p id=\"caption-attachment-7809\" class=\"wp-caption-text\">What is the difference between Shopify product ID and variant ID?<\/p><\/div>\n<p><span style=\"font-weight: 400;\">In short, you can understand that:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>Variant ID<\/b><span style=\"font-weight: 400;\"> is used to distinguish<\/span><b> the size and color of product A from another size and another color of product A<\/b><\/li>\n<li style=\"font-weight: 400;\"><b>Product ID<\/b><span style=\"font-weight: 400;\"> is used to distinguish between<\/span><b> product and product B on your online store<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Plus, Shopify automatically generates a product ID and variant ID for every product and variant in your store. You can&#8217;t define your ID or change its format.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By understanding the difference between both of them, you will know when to find Shopify Product ID and when to find the variant ID.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">But how to find it? You can check the tutorial below.<\/span><\/p>\n<h2><b>How to find Shopify Product ID and Variant ID?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">There are<\/span><b> 2 options<\/b><span style=\"font-weight: 400;\"> you can choose to find your product ID and variant ID.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We will show you how to find them via the Shopify dashboard as an admin or the Shopify storefront as a real customer. This process is pretty simple, you can find it in only 3 mins.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s begin with the first option!<\/span><\/p>\n<h3><b>Option 1: Find Shopify Product ID and Variant ID via dashboard admin<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Both product ID and variant ID are related. After successfully finding the product ID, you can use<\/span><b> Step 4 and Step 5 <\/b><span style=\"font-weight: 400;\">to keep on finding<\/span> <span style=\"font-weight: 400;\">variants ID<\/span> <span style=\"font-weight: 400;\">or<\/span><b> use option 2.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">To start the process, you can simply go to your <\/span><a href=\"https:\/\/accounts.shopify.com\/store-login\" target=\"_blank\" rel=\"noopener\"><b>Shopify store admin<\/b><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Step 1<\/b><span style=\"font-weight: 400;\">:\u00a0 On your Shopify dashboard admin, click on \u201c<\/span><b>Products<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<div id=\"attachment_7657\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7657\" class=\"size-full wp-image-7657\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/06\/choose-product.jpg\" alt=\"Shopify product ID\" width=\"800\" height=\"370\" title=\"\"><p id=\"caption-attachment-7657\" class=\"wp-caption-text\">Choose \u201c<strong>Products<\/strong>\u201d from your dashboard<\/p><\/div>\n<p><b>Step 2<\/b><span style=\"font-weight: 400;\">: <\/span><span style=\"font-weight: 400;\">S<\/span><span style=\"font-weight: 400;\">elect a product that has multiple variations (size, color, material&#8230;) from your product list.<\/span><\/p>\n<div id=\"attachment_7659\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7659\" class=\"size-full wp-image-7659\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/06\/choose-variant-product.jpg\" alt=\"Shopify product ID\" width=\"800\" height=\"405\" title=\"\"><p id=\"caption-attachment-7659\" class=\"wp-caption-text\">Select a product that has multiple variations<\/p><\/div>\n<p><b>Step 3<\/b><span style=\"font-weight: 400;\">: On your direct page, examine the URL in your browser\u2019s address bar. The number after \u201c<\/span><b>\/products\/<\/b><span style=\"font-weight: 400;\">\u201d is the product ID number.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your URL should be similar to the following URL example:\u00a0<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: center;\"><b>https:\/[shop name].myshopify.com\/admin\/products\/7399324713121<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The product ID is <\/span><b>7399324713121<\/b><\/li>\n<\/ul>\n<p><b>Step 4<\/b><span style=\"font-weight: 400;\">: To find your variant ID, on your direct page of <\/span><b>step 3<\/b><span style=\"font-weight: 400;\">, scroll down a bit until you see the section \u201c<\/span><b>Variants<\/b><span style=\"font-weight: 400;\">\u201d.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click on \u201c<\/span><b>Edit<\/b><span style=\"font-weight: 400;\">\u201d next to your product.<\/span><\/p>\n<div id=\"attachment_7658\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7658\" class=\"size-full wp-image-7658\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/06\/click-on-edit.jpg\" alt=\"Shopify product ID\" width=\"800\" height=\"450\" title=\"\"><p id=\"caption-attachment-7658\" class=\"wp-caption-text\">Click on \u201c<strong>Edit<\/strong>\u201d next to your product.<\/p><\/div>\n<p><b>Step 5<\/b><span style=\"font-weight: 400;\">: Examine the URL in your browser\u2019s address bar one more time. The number after \u201c<\/span><b>\/variants\/<\/b><span style=\"font-weight: 400;\">\u201d is the Shopify variant ID number.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your URL should be similar to the following URL example:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: center;\"><b>https:\/\/[shop<\/b><b> name].myshopify.com\/admin\/products\/7399324713121\/variants\/42019374006433<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In this example, the variant ID is <\/span><b>42019374006433<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">This option is recommended if you need to find dozens. However, we would recommend <\/span><b>Option 2<\/b><span style=\"font-weight: 400;\"> because you just need to find only 1 or 2 product IDs and variant IDs at this moment.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, no more waiting, next is your second option.<\/span><\/p>\n<h3><b>Option 2: Find Shopify Product ID and Variant ID via the Shopify storefront<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">By using this option, you will see the variant ID first, then we will show you how to find the product ID\u00a0 by using <\/span><b>Step 4 <\/b><span style=\"font-weight: 400;\">and<\/span><b> Step 5.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Many people don&#8217;t know that you can find Shopify product ID and variant ID from the storefront without having any Shopify admin access.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>Step 1<\/b><span style=\"font-weight: 400;\">: Simply go to the store as a real customer, select a product, and on its product page, change the variant.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Step 2<\/b><span style=\"font-weight: 400;\">: Then check the URL in your browser\u2019s address bar. The number after \u201c<\/span><b>variant=<\/b><span style=\"font-weight: 400;\">\u201d is the variant ID.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Step 3<\/b><span style=\"font-weight: 400;\">: Now you are looking for the product ID on the URL and you can\u2019t find it. Do not worry, press \u201c<\/span><b>Ctrl +U<\/b><span style=\"font-weight: 400;\">\u201d (or command + U) at the same time.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Step 4: <\/b><span style=\"font-weight: 400;\">On the view source page, use keystrokes \u201c<\/span><b>Ctrl + F<\/b><span style=\"font-weight: 400;\">\u201d(or command + F) to find the \u201c<\/span><b> \u201cproduct&#8221;, &#8220;rid&#8221;<\/b><span style=\"font-weight: 400;\"> \u201d and The number after<\/span><b> \u201crid\u201d <\/b><span style=\"font-weight: 400;\">is the product ID.<\/span><\/li>\n<\/ul>\n<div id=\"attachment_7661\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7661\" class=\"size-full wp-image-7661\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/06\/use-keystrokes-Ctrl-F.jpg\" alt=\"Shopify product ID\" width=\"800\" height=\"437\" title=\"\"><p id=\"caption-attachment-7661\" class=\"wp-caption-text\">The number after \u201c<strong>rid<\/strong>\u201d is the product ID.<\/p><\/div>\n<p><span style=\"font-weight: 400;\">Great Jobs! This process is not so hard to do, with a little effort you can view these IDs so quickly. Now you can find the Shopify product ID and variant ID in just a few mins.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">With these IDs in hand, you can easily add products to your Shopify store or keep track of inventory. So next time you&#8217;re looking for a particular Shopify product, don&#8217;t forget to use this guide to find its ID!<\/span><\/p>\n<h2><b>Conclusion<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">If you own a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Shopify\" target=\"_blank\" rel=\"noopener\">Shopify<\/a> store, you may know how important it is to have unique product names for your store. However, it can sometimes be difficult to remember the product naming conventions for your products.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This blog post is a must-read for anybody who sells physical products on Shopify because the <\/span><b>Shopify product ID<\/b><span style=\"font-weight: 400;\"> and variant ID are extremely important.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This information will help you to better manage your inventory and supply chain, as well as create a more accurate and complete product listing. We hope that you can utilize this information in order to be more successful in your business.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered how to find Shopify product ID and variant ID? Learn how to find these IDs fast in just 3 mins!<\/p>\n","protected":false},"author":8,"featured_media":7651,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/7642"}],"collection":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/comments?post=7642"}],"version-history":[{"count":8,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/7642\/revisions"}],"predecessor-version":[{"id":15917,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/7642\/revisions\/15917"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/media\/7651"}],"wp:attachment":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/media?parent=7642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/categories?post=7642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/tags?post=7642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}