You can find the product ID in the Shopify admin. Just follow the below steps.
Step 1. Login to Shopify admin.
Step 2. Go to Products from the left sidebar.
Step 3. Click on the product name to get its ID.
There is a number at the end of the product URL. This is the product ID.