Hallo Support,
das mit dem Bestand am Hauptlager kann ich leider nicht nachvollziehen?
Ich hab mir nun extra einen Testartikel (
ItemID 536777 / VariantenID 17451) und einen expliziten Testflow
test_SetCurrentStock angelegt.
Der Artikel hat als Hauptlager wie üblich "A Thale SH" (ID 11) ausgewählt, und hat dort auch Bestand:
Und der Output vom GetItemsBase passt auch dazu:
1)
Nur, das eben die
StorageLocation nicht korrekt ist -.-
Aber am (fehlenden) Bestand im Hauptlager kann das Ganze dann ja wohl nicht liegen?
2) Des weiteren benutzen wir leider konsequent Lagerorte, so dass eine feste StorageLocation von "0" auch keine praktikable Lösung ist. Oder?
3) Außerdem geht der Call mit StorageLocation="0" zwar ohne Fehler durch, aber kommt immer noch nicht im System an...
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<ver:Header xmlns:ver="SOAP-ENV">
<verifyingToken>
<UserID>redacted</UserID>
<Token>redacted</Token>
</verifyingToken>
</ver:Header>
</soapenv:Header>
<soapenv:Body>
<ns1:SetCurrentStocks xmlns:ns1="http://synestybeta7.plentymarkets-x1.com/plenty/api/soap/version115/">
<oPlentySoapRequest_SetCurrentStocks>
<CurrentStocks>
<item>
<SKU>0-0-17451</SKU>
<WarehouseID>11</WarehouseID>
<Reason>0</Reason>
<PhysicalStock>0</PhysicalStock>
<StorageLocation>0</StorageLocation>
</item>
</CurrentStocks>
</oPlentySoapRequest_SetCurrentStocks>
</ns1:SetCurrentStocks>
</soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.samenhaus.de/plenty/api/soap/version115/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:SetCurrentStocksResponse>
<return xsi:type="ns1:PlentySoapResponse_SetCurrentStocks">
<Success xsi:type="xsd:boolean">true</Success>
<ResponseMessages xsi:type="ns1:ArrayOfPlentysoapresponsemessage">
<item xsi:type="ns1:PlentySoapResponseMessage">
<Code xsi:type="xsd:int">100</Code>
<IdentificationKey xsi:type="xsd:string">SKU</IdentificationKey>
<IdentificationValue xsi:type="xsd:string">0-0-17451</IdentificationValue>
<SuccessMessages xsi:type="ns1:ArrayOfPlentysoapresponsesubmessage">
<item xsi:type="ns1:PlentySoapResponseSubMessage">
<Value xsi:type="xsd:string">17451</Value>
<Key xsi:type="xsd:string">VariationID</Key>
</item>
</SuccessMessages>
<ErrorMessages xsi:nil="true" />
<Warnings xsi:nil="true" />
</item>
</ResponseMessages>
</return>
</ns1:SetCurrentStocksResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Die Warenbewegungen bleiben leer :/
Was kann ich weiter tun um hier bei der Fehlersuche behilflich zu sein?
Liegt der Fehler auf Plenty-Seite?
Danke, Daniel
PS:
Wenn ihr eure Namen unter eure Posts schreiben würdet könnte man euch mit diesem anreden ;-) Fänd ich angenehmer...