diff --git a/classes/Modules/Shopware6/Client/Shopware6Client.php b/classes/Modules/Shopware6/Client/Shopware6Client.php index 8ea75f4a..a7b3eed3 100644 --- a/classes/Modules/Shopware6/Client/Shopware6Client.php +++ b/classes/Modules/Shopware6/Client/Shopware6Client.php @@ -73,7 +73,7 @@ final class Shopware6Client $request = new ClientRequest( $method, - $this->url . 'v2/' . $endpoint, + $this->url . $endpoint, $headerInformation, empty($body) ? null : json_encode($body) ); diff --git a/www/lib/class.erpapi.php b/www/lib/class.erpapi.php index a34c54a0..298658a3 100644 --- a/www/lib/class.erpapi.php +++ b/www/lib/class.erpapi.php @@ -22527,7 +22527,7 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert, $pseudolager = !empty($shopAricleArr['pseudolager'])?(float)$shopAricleArr['pseudolager']:0; } else { - $pseudolager = ''; + $pseudolager = 0; } $this->app->erp->RunHook('remote_send_article_list_pseudostorage', 3, $shop, $artikelid, $pseudolager); if(is_numeric($pseudolager) && $pseudolager < 0) {