I'm trying to create a category via SOAP
$category_data = [
'parentId' => 2,
'name' => 'NIMI',
'is_active' => 1, // also tried 'isActive' => 1
'position' => 1,
'includeInMenu' => 1,
'category' => 1,
];
// $category_client $category_client = new SoapClient(
'http://host/soap?wsdl&services=catalogCategoryRepositoryV1', $category_client->catalogCategoryRepositoryV1Save($category_data);
I'm getting an error Could not save category: %1
with details The value of attribute "Is Active" must be set
.
What is wrong here?