2016-03-22 3 views
1

Ich versuche, Mindest-/Höchstpreise für unsere Produkte auf Amazon über mws Feeds API zu setzen, aber ich bekomme immer Fehler. Könnte jemand bitte auf meinen Fehler hinweisen? Hier Probe Inhalt eines Feed:Amazon MWS nicht in der Lage, minimale/maximale Preise zu aktualisieren

<?xml version="1.0" encoding="utf-8"?> 
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> 
    <Header> 
    <DocumentVersion>1.01</DocumentVersion> 
    <MerchantIdentifier>IDENTIFIER_VALUE</MerchantIdentifier> 
    </Header> 
    <MessageType>Price</MessageType> 
    <Message> 
    <MessageID>1</MessageID> 
    <OperationType>Update</OperationType> 
    <Price> 
     <SKU>SKU_VALUE</SKU> 
     <MinimumSellerAllowedPrice currency="EUR">12.99</MinimumSellerAllowedPrice> 
     <MaximumSellerAllowedPrice currency="EUR">63.99</MaximumSellerAllowedPrice> 
    </Price> 
    </Message> 
</AmazonEnvelope> 

Das Verarbeitungsergebnis für dieses Futter ist:

<?xml version="1.0" encoding="UTF-8"?> 
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> 
    <Header> 
     <DocumentVersion>1.02</DocumentVersion> 
     <MerchantIdentifier>IDENTIFIER_VALUE</MerchantIdentifier> 
    </Header> 
    <MessageType>ProcessingReport</MessageType> 
    <Message> 
     <MessageID>1</MessageID> 
     <ProcessingReport> 
      <DocumentTransactionID>XXXXXXXXXX</DocumentTransactionID> 
      <StatusCode>Complete</StatusCode> 
      <ProcessingSummary MarketplaceName="www.amazon.de"> 
       <MessagesProcessed>1</MessagesProcessed> 
       <MessagesSuccessful>0</MessagesSuccessful> 
       <MessagesWithError>2</MessagesWithError> 
       <MessagesWithWarning>0</MessagesWithWarning> 
      </ProcessingSummary> 
      <Result> 
       <MessageID>0</MessageID> 
       <ResultCode>Error</ResultCode> 
       <ResultMessageCode>90215</ResultMessageCode> 
       <ResultDescription>100% of the products in your file did not process successfully. We recommend using Check My File to help you identify and correct common listing errors before updating your inventory. To use Check My File, upload your file on the &quot;Add Products via Upload&quot; page in the &quot;Check My File&quot; section.</ResultDescription> 
      </Result> 
      <Result> 
       <MessageID>1</MessageID> 
       <ResultCode>Error</ResultCode> 
       <ResultMessageCode>90111</ResultMessageCode> 
       <ResultDescription>The Message/Price/MaximumSellerAllowedPrice field contains an invalid value: 63.99. The value &quot;63.99&quot; is not a valid CURRENCY.</ResultDescription> 
       <AdditionalInfo> 
        <SKU>SKU_VALUE</SKU> 
       </AdditionalInfo> 
      </Result> 
      <Result> 
       <MessageID>1</MessageID> 
       <ResultCode>Error</ResultCode> 
       <ResultMessageCode>90111</ResultMessageCode> 
       <ResultDescription>The Message/Price/MinimumSellerAllowedPrice field contains an invalid value: 12.99. The value &quot;12.99&quot; is not a valid CURRENCY.</ResultDescription> 
       <AdditionalInfo> 
        <SKU>SKU_VALUE</SKU> 
       </AdditionalInfo> 
      </Result> 
     </ProcessingReport> 
    </Message> 
</AmazonEnvelope> 

xsd hier: https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Price.xsd

Dank!

+0

Welchen Endpunkt senden Sie Ihre Anfrage an? Wenn Sie amazon.com und keinen EU-Endpunkt verwenden, ist EUR ein ungültiger Währungstyp (von dem, was ich gerade lese) [Feed-API] (https://images-na.ssl-images-amazon.com/images /G/01/mwsportal/doc/en_US/bde/MWSFeedsApiReference._V135478122_.pdf) Kann nützliche Informationen für Sie haben. –

+0

Vielen Dank für Ihre Antwort. Der Endpunkt war nicht das Problem. Ich erkannte, dass der Typ für MinimumSellerAllowedPrice/MaximumSellerAllowedPrice StringOverrideCurrencyAmount war. Die Änderung der Werte auf 12,99 & 63,99 löste das Problem. – user3307762

+0

Freut mich zu hören, dass Sie Ihr Problem gelöst haben. –

Antwort

3

MaximumSellerAllowedPrice & MinimumSellerAllowedPrice-Elemente sind vom Typ StringOverrideCurrencyAmount. Damit der Feed erfolgreich verarbeitet werden kann, müssen diese Werte wie angegeben sein. Der obige Feed sollte beispielsweise wie folgt aussehen:

<?xml version="1.0" encoding="utf-8"?> 
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> 
    <Header> 
    <DocumentVersion>1.01</DocumentVersion> 
    <MerchantIdentifier>IDENTIFIER_VALUE</MerchantIdentifier> 
    </Header> 
    <MessageType>Price</MessageType> 
    <Message> 
    <MessageID>1</MessageID> 
    <OperationType>Update</OperationType> 
    <Price> 
     <SKU>SKU_VALUE</SKU> 
     <MinimumSellerAllowedPrice currency="EUR">12,99</MinimumSellerAllowedPrice> 
     <MaximumSellerAllowedPrice currency="EUR">63,99</MaximumSellerAllowedPrice> 
    </Price> 
    </Message> 
</AmazonEnvelope> 

Beachten Sie, wie sich die Werte von 12,99 auf 12,99 und von 63,99 auf 63,99 geändert haben.

Ich bin neu zu stackoverflow, also war mir nicht bewusst, dass ich meine eigene Frage beantworten sollte/könnte.

Verwandte Themen