How to update blog id of an Article?

Hewrin
Tourist
10 0 3

Hi friends,

I'm trying to update the blog_id attribute for Articles.

Using the shopify_api gem, I tried doing

article.update_attributes(blog_id: blog_id)

 

but I get a "ActiveResource::ResourceNotFound Exception: Failed. Response code = 404. Response message = Not Found." error.

I'm pretty sure the blog_id is correct as when I query using the blog_id it returns the correct Blog object.

Anything I am doing wrong?

 

Thanks in advance for any help!

 

Replies 0 (0)