In order to find the id of your course all you have to do is navigate from 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/author/course?courseid=love-travel, the course/product id is the "love-travel".
In order to find the id of your bundle, you can navigate from your admin menu to "Marketing".
Then click on the "Bundles" button and select the "Edit properties" button (gear icon).
In the "Bundle URL" field you can find the id of your bundle.