How To Find a Shopify Product or Variant ID
- From your Shopify admin, go to Products > All products.
- Click the product you want to find the ID for.
- Examine the URL in your browser's address bar. Your URL should be similar to the following URL example:
The number after /products/ is the Product ID number. In this example, the product ID is 1234567.
You can also use a specific variant of a product. Locate the variant ID by opening the product and then click edit on the variant you'd like to use. On the edit page, you can view the URL in the address bar:
The number after /variants/ is the Variant ID number. In this example, the product ID is 3456789.