1
我試圖通過mws Feeds API在亞馬遜上設置我們產品的最低/最高價格,但我不斷收到錯誤。請有人指出我的錯誤嗎?這裏有一個飼料樣本內容:該飼料亞馬遜MWS無法更新最低/最高價格
<?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>
這個處理結果是:
<?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 "Add Products via Upload" page in the "Check My File" 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 "63.99" 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 "12.99" is not a valid CURRENCY.</ResultDescription>
<AdditionalInfo>
<SKU>SKU_VALUE</SKU>
</AdditionalInfo>
</Result>
</ProcessingReport>
</Message>
</AmazonEnvelope>
XSD這裏:https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/Price.xsd
謝謝!
您提交請求的端點是什麼?如果您使用的是amazon.com而不是歐盟端點,那麼EUR將是一種無效的貨幣類型(從我正在閱讀的內容中)[Feeds API](https://images-na.ssl-images-amazon.com/images /G/01/mwsportal/doc/en_US/bde/MWSFeedsApiReference._V135478122_.pdf)可能會爲您提供一些有用的信息。 –
謝謝您的回覆。端點不是問題。我意識到MinimumSellerAllowedPrice/MaximumSellerAllowedPrice的類型是StringOverrideCurrencyAmount。因此,將值改爲12,99和63,99可以解決問題。 – user3307762
很高興聽到您解決了您的問題。 –