Massive article update (Guide)

3 Comments

  • Lightspeed POS Inc
    Community Moderator

    Hey Jorge,

     

    That sounds like a tall project. You can retrieve the article.body from the old article via the API and then create new articles with the new body. It's not clear if it's possible to update the body for an existing article via the API, but if it is, you can have a script iterate through each of the OLD ids, get the content, and then either create or update new articles with the body you retrieved previously.

     

    Just my .02, best of luck with your task!

    0
  • Ryan McGrew
    Zendesk Product Manager

    Hey Jorge,

    I think Dan has the right idea here. I think you'll need to use API to retrieve the contents of the old articles and update them via the API. You can update the body of an article via the API. You can then archive the old article via the API.

    You can see more about the article API here.

    Thanks!

    0
  • Paul Moran

    Just to clarify. Can you update the an existing article body using the Translations api? I'm doing something similiar to the above, and I don't want to recreated new articles as that will throw off our analytics since the urls will be changed.

    0

Please sign in to leave a comment.

Powered by Zendesk