In order to find the id of your course all you have to do is navigate for your admin menu to "Courses" and find the course you want.
Click on the tab "Access" and you will be able to find the "Public URL" of your course. The course id is at the end of the URL after the "=". For example, in the URL https://yourschool.learnworlds.com/course?courseid=photography-101, the course/product id is the "photography-101".
In order to find the id of your bundle, you can navigate from your admin menu to "Marketing tools".
Then click on the "Manage bundles" button and select the "Edit properties" button (gear icon).
In the "bundle URL" field you can find the id of your bundle.