diff --git a/Model/Api/Product.php b/Model/Api/Product.php index 1d923851..e182b5ea 100644 --- a/Model/Api/Product.php +++ b/Model/Api/Product.php @@ -251,7 +251,7 @@ protected function _buildProductData(\Magento\Catalog\Model\Product $product, $ $data["visibility"] = 'true'; } else { - $data["visibility"] = false; + $data["visibility"] = 'false'; } } else {