Follow these steps to locate your product or category ID:
Open your store on your live site
Proceed to the product or category page which you wish to locate the ID of
Once there, check the address bar of your browser where page URL is displayed. The ID you need will be listed there.
For example:
in the category URL:
the category's ID is 20473167.
In the product URL:
the product's ID is 69375058.