Update Bundle
Updates an existing course: name, description, curriculum (course modules), tags and settings. Use it to keep a course in sync with your own system.
POST
/bundles/{bundle_id}Update Bundle
curl --request POST \
--url 'https://<your-api-host>/nuSource/api/v1/bundles/{bundle_id}' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>' \
--form 'JSONString={"bundle_id":"1951","bundle_name":"Physics","bundle_description":"What is Lorem Ipsum?\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry'\''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n\nWhy do we use it?\nIt is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using '\''Content here, content here'\'', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for '\''lorem ipsum'\'' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).\n\n\nWhere does it come from?\nContrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit a","course_ids":[2557,43025,89981,84573,96691,96793,97638,97548,97482],"course_names":["Physics Audiol","Enroll free","Cancel Notification Course","due date check","Check Prerequisite","Prerequisite check 2","Anisha Course"],"course_descriptions":["k","","","","","asdas",""],"stream_id":1,"duration":0,"pretty_name":"Testing","engage_subject_tag_ids":["1","1","1","1","1","1","1"],"status":"unpublished","cost":-1,"position":1,"currency_symbol":"₹","bundle_overview":"","course_costs":["0.00","0.00","0.00","0.00","0.00","0.00","0.00"],"is_online_package":1,"actual_cost":-1,"striked_cost":-1,"package_cost_set":0,"is_test_series":0,"video_url":"","course_type":1,"is_archived":null,"img_url":"https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(1951)/4237523-Screenshot_2025-07-09_at_12.21.58%E2%80%AFPM.png","allow_student_unenrolling":1,"allow_curriculum_access_after_completed":1,"allow_student_mark_batch_completed":1,"file_name":"Screenshot_2025-07-09_at_12.21.58 PM.png","is_woolf_accredited":0,"woolf_degree_id":null,"feedback_form_id":"","board_ids":[],"exam_ids":["835"],"standard_ids":[],"organization_id":[212]}'{
"code": 200,
"message": "Bundle Updated",
"bundle": {
"0": {
"bundle_id": 1951
},
"bundle_id": 1951,
"bundle_name": "Physics",
"bundle_description": "What is Lorem Ipsum?\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n\nWhy do we use it?\nIt is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).\n\n\nWhere does it come from?\nContrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit a",
"stream_id": 1,
"duration": 0,
"bundle_overview": null,
"pretty_name": "Testing"
}
}Access: Institute admins, admins and tutors (tutors only for courses they are allowed to manage), plus custom roles that can edit courses (or ebooks, playlists or test series). Not available to Edmingle staff accounts.
Path parameters
ID of the course to update, e.g.
bundles/1951.Request body: form-data with one field, JSONString, containing this JSON. To replace the cover image, attach an image as uploaded_file (JPEG, PNG, GIF or WebP, up to 2 MB).
Body
JSONStringCourse name. HTML tags are removed.
pretty_namestring
URL slug. Only letters, digits and
- are kept. Defaults to the name with other characters removed.bundle_descriptionstring
Short description.
bundle_overviewstring (HTML)
Long overview shown on the course page.
course_idsarray of integers
Existing course modules (curriculum) to include. You must be a tutor of each one, or the call fails with "Invalid Course ID".
new_coursesarray of strings
Names of new, empty course modules to create and include.
course_costsarray of numbers
Price for each entry in
course_ids, in the same order.usd_course_costsarray of numbers
USD price for each entry in
course_ids, in the same order.course_typeinteger
1 regular (default), 2 live, 3 test series.is_online_packageinteger
1 online, 0 offline (default).durationinteger
Course duration. Default
0.stream_idinteger
Stream (category) ID.
standard_idsarray of integers
Standard (class/grade) tags.
board_idsarray of integers
Board tags.
exam_idsarray of integers
Category tags.
video_urlstring
Intro video link.
allow_student_unenrollinginteger
1 lets learners leave the course themselves. Default 0.1 keeps content available after the learner completes the course. Default 0.1 lets learners mark their batch as completed. Default 0.show_completion_nudgesinteger
1 shows completion reminders to learners. Default 0.is_prerequisiteinteger
1 marks the course as a prerequisite course. Default 0.feedback_form_idinteger
Feedback form to attach.
is_ai_embedding_allowedinteger
1 lets the course content be indexed for AI features. This is charged once per course from your AI balance; the call fails if the balance is too low.woolf_degree_idstring
Woolf degree to link (Woolf-accredited institutes only).
languagesarray of integers
Language IDs for the course. Replaces the current list.
membership_idsarray of integers
Membership plans that include this course. Replaces the current list when sent; left alone when not sent.
remove_imageboolean
true removes the cover image.Response
codeinteger
Example:
200messagestring
Example:
Bundle Updatedbundleobject
Show child attributesHide child attributes
bundle.0object
Show child attributesHide child attributes
bundle.0.bundle_idinteger
Example:
1951bundle.bundle_idinteger
Example:
1951bundle.bundle_namestring
Example:
Physicsbundle.stream_idinteger
Example:
1bundle.durationinteger
Example:
0bundle.pretty_namestring
Example:
TestingNotes:
- This is a full replace, not a partial update. Send every field you want to keep: fields you leave out go back to their defaults (for example
is_online_packagebecomes0andcourse_typebecomes1), tags are replaced by what you send, and course modules not listed incourse_idsare removed from the course. product_typecannot be changed and is ignored.- Errors: "Invalid organization id." if the course belongs to another institute; "Invalid Course ID" if you are not a tutor of a module in
course_ids. - Setting
is_ai_embedding_allowedto1charges your AI balance the first time only. - Rate limit: 30 requests per minute; going over locks you out for 30 minutes.