Shoconnector Syntaxfehler behoben
authorWerner Hahn <wh@futureworldsearch.net>
Wed, 7 Apr 2021 18:20:49 +0000 (20:20 +0200)
committerWerner Hahn <wh@futureworldsearch.net>
Wed, 7 Apr 2021 18:21:43 +0000 (20:21 +0200)
SL/ShopConnector/Shopware.pm

index 256f84b..938f99b 100644 (file)
@@ -72,7 +72,7 @@ sub get_new_orders {
   my $last_order_number = $self->config->last_order_number;
   my $otf              = $self->config->orders_to_fetch;
   my $of               = 0;
-  my $last_data      = $self->connector->get($url . "api orders/$last_order_number?useNumberAsId=true");
+  my $last_data      = $self->connector->get($url . "api/orders/$last_order_number?useNumberAsId=true");
   my $last_data_json = $last_data->content;
   my $last_import    = SL::JSON::decode_json($last_data_json);