当我尝试通过 Amazon MWS API 将产品(通过类型为“_POST_PRODUCT_DATA_”的 SubmitFeed)添加到亚马逊市场时,出现以下错误:
[Marketplace : Amazon.de] A valid value is required in either the "quantity" or "fulfillment_center_id" field.
但是我的 Product.xsd 和官方文档中都没有“数量”或“fulfillment_center_id”字段。此外,完全相同的提要在我的 Amazon MWS 沙箱账户上也能正常工作,不会出现错误。我缺少什么?
完整的 XML:
<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope>
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>XXX</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>123456</SKU>
<StandardProductID>
<Type>EAN</Type>
<Value>767715012826</Value>
</StandardProductID>
<ProductTaxCode>A_GEN_TAX</ProductTaxCode>
<Condition>
<ConditionType>New</ConditionType>
<ConditionNote>Zustand/condition: neu OVP</ConditionNote>
</Condition>
<DescriptionData>
<Title>Bellydance for Fitness and Fun</Title>
<Manufacturer>New World 2011</Manufacturer>
</DescriptionData>
<ProductData>
<Music>
<ProductType>
<MusicPopular>
<MediaType>audioCD</MediaType>
<NumberOfDiscs>1</NumberOfDiscs>
<Genre>New Age</Genre>
</MusicPopular>
</ProductType>
</Music>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
最佳答案
确保您在 Feed 内的“MerchantIdentifier”标签中使用正确的“商家 token ”(不是商家 ID)(这方面没有详细记录)。
<MerchantIdentifier>YOUR_MERCHANT_TOKEN</MerchantIdentifier>
您应该可以通过导航至
Sellercentral > Settings > Account Info
来查看您的商家 token 然后点击Your Merchant Token
盒子里面Business Information
。如果商家 token 不存在(这是过去的常见错误),请联系卖家支持并请求正确的商家 token :Please send me my Merchant Token (NOT merchant id) for use with 3rd party software.
尝试省略描述产品的其他标签,尤其是整个
<ProductData>
<Product>
内的部分元素。每当我指定<ProductData>
我收到错误 99019 部分。
关于amazon-mws - 亚马逊MWS : getting error 99019 for XML productFeeds (SubmitFeed of type _POST_PRODUCT_DATA_),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16205609/