When I copy my course it copies my course code, too. But I'm assuming I'll need a new course code for the new course??
I'm going to try to answer your question, but there are multiple ways to interpret "course code" and I'm not sure exactly which way you mean, so hopefully I'll get it.
Each course inside Canvas has an unique numeric identifier called the course ID. When you create a new course in Canvas, it creates a new course ID. You do not create the course ID, Canvas does. Performing a course reset from the Settings page will also generate a new course ID. Thankfully, all of that is managed for you and when you copy content from one Canvas course into another one, Canvas changes all of the course IDs from the old one to the new one for you. Under most circumstances, you won't need to do anything special.
There is also a "course code" that appears on the Course > Settings > Course Details page. This is a short name for the course that appears in the breadcrumb. This is not unique and you can reuse it from course to course. For example, all of my MATH 113 courses use a course code of "Math 113", even though the course ID is different for each one. If you are teaching multiple courses with the same name / number at the same time, you may want to distinguish them using the course code.
Then there is a SIS ID for the course. If you are using this, then it is usually generated by your student information system (the computer people on your campus) and you shouldn't mess with it. It does have to be unique throughout your organization's Canvas instance.
Another place that a course code might occur is if you're using an LTI (App). Whether or not you need a new code varies from app to app, but I would guess that most of them do not need a new code for each course since they expect that you will copy your course to a new course. However, that is just a guess and it ultimately depends on the LTI that you're using.
Thanks SO much, James--you addressed my question fully.
Retrieving data ...