How to create sub category on Magento APi

Posted by demonchand on Stack Overflow See other posts from Stack Overflow or by demonchand
Published on 2011-04-27T07:04:43Z Indexed on 2013/07/02 5:05 UTC
Read the original article Hit count: 481

Filed under:
|
|

I am currently using Magento ver. 1.5.0.1. Can anyone tell me how do i create a sub category using soapv2.

Here my code format

category_data = { "name" => "LIGHTING", "is_active" => 1 }
soap.call('catalogCategoryCreate',session,4,category_data,1, "include_in_menu")

I got some errors when i run this code.

: Attribute "include_in_menu" is required. (SOAP::FaultError)

Is that any solution for this problem.

Thanks.

© Stack Overflow or respective owner

Related posts about soap

Related posts about magento