[Gelöst][ArticleUpdate] Shopware Tax by taxrate 1 not found

Hallo, 

ich versuche über eine Schnittstelle(LeadCommerce Shopware SDK), Artikel über die REST-API anzupassen wie z.B. den Preis. 
Über die Schnittstelle habe ich mir den gewünschten Artikel geholt, dort habe ich dann den neuen Preis gesetzt und versucht über einen PUT request den Artikel upzudaten. 

Bekomme aber nur eine Fehlermeldung vom Shopware Backend: 

Fatal error: Uncaught exception 'GuzzleHttp\Exception\ServerException' with message 'Server error: `PUT http://url/api/articles/id` resulted in a `500 Internal Server Error` response: {"error":{"type":"Shopware\\Components\\Api\\Exception\\CustomValidationException","message":"Tax by taxrate 1 not found (truncated...) ' in ~\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 ~\vendor\guzzlehttp\guzzle\src\Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 ~\vendor\guzzlehttp\promises\src\Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 ~\vendor\guzzlehttp\promises\src\Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), in ~\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113

 Hier noch das prices Array:

[prices] => Array
                (
                    [0] => Array
                        (
                            [id] => X
                            [articleId] => X
                            [articleDetailsId] => X
                            [customerGroupKey] => EK
                            [from] => 1
                            [to] => beliebig
                            [price] => 37.5
                            [pseudoPrice] => 0
                            [percent] => 0
                            [customerGroup] => Array
                                (
                                    [id] => 1
                                    [key] => EK
                                    [name] => Shopkunden
                                    [tax] => 1
                                    [taxInput] => 1
                                    [mode] => 
                                    [discount] => 0
                                    [minimumOrder] => 10
                                    [minimumOrderSurcharge] => 5
                                )

                        )

                )

 

Hat jemand eine Idee?

Mit freundlichen Grüßen, 
Brian 

Update: 
Ich bebnutze nun die von Shopware bereitgestellteKlasseund bin einen Schritt weiter gekommen.
Nun habe ich aber das Problem damit ich diese Meldung zurück bekomme: 
 

"success" => false
"data" => array (
      "type" => "Shopware\Components\Api\Exception\CustomValidationException"
      "message" => "\Shopware\Models\Article\SeoCategory by id 4465 not found"
      "file" => "~/engine/Shopware/Components/Api/Resource/Resource.php"
      "line" => 396
    )
)

Wenn ich die SeoCategories im Array vom Artikel entferne, funktioniert es auch nicht.  Undecided
 

Kann geschlossen werden, habe das Problem gelöst.