There are two simple ways of finding out the product ID. When you edit a product, the URL has a bunch of extra information within it that reveals the product ID.
For instance, a typical URL that’s displayed when editing a product might look something like this:
post contains the product ID of the product that you are editing. In the example above, the Product ID is 2963.
A second option is to head over the Products page in your Instructor Dashboard. In this listing, you’ll find the WooCommerce product ID when you hover over a product name. You can additionally search for your product using the product SKU name or product name and hover over the search results to get the Product ID.