Skip to main content
Answer

Categories

  • November 8, 2023
  • 3 replies
  • 216 views

Forum|alt.badge.img+2

Perhaps I'm missing something but can you move courses from one category to another in bulk (rather than individually?)

Best answer by Rais

Hi,

Pass this end point. 

https://your domain.com/learn/v1/courses/course_id

{
  "category": xx,
   "additional_fields": {
    "xx": "xx"
  }
}

For bulk catagories, one has to create variable. 

hope this helpls.

 

3 replies

Alan
Guide I
Forum|alt.badge.img+2
  • Guide I
  • November 8, 2023

Hi @KTJD 

Sadly not (afaik), at least not via the Learn user interface. Others may know a way to do it via API.

It would be extremely helpful to be able to do this in bulk, as well as updating Course Additional Fields in bulk, like you can for user fields. There is an open idea for that if you want to upvote it:

Idea: Mass applying Course settings

 

Alan


lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • November 8, 2023

Second that, there are methods to do mass course updates (like you can for users) via the admin end...only way I know of is via the API’s


Forum|alt.badge.img
  • Novice III
  • Answer
  • November 9, 2023

Hi,

Pass this end point. 

https://your domain.com/learn/v1/courses/course_id

{
  "category": xx,
   "additional_fields": {
    "xx": "xx"
  }
}

For bulk catagories, one has to create variable. 

hope this helpls.