Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Moving article to another blog using python api

Moving article to another blog using python api

mfishman
Visitor
1 0 0
I'd like to use the Shopify python api to move ~1500 articles to different blogs. How can I do this?
 
I tried to move an article like this, but it did not work:

 

assert isinstance(a, shopify.resources.article.Article)
assert isinstance(b, shopify.resources.blog.Blog)
a.blog_id = b.id
a.save() # This failed and returned False

 

Replies 0 (0)