2010-02-18 64 views
2

我尝试添加使用MWS一个新的产品,下面是我使用的XML:提交新产品使用亚马逊的市场WebService的

<?xml version="1.0" encoding="utf-8" standalone="yes"?> 
<AmazonEnvelope> 
<Header> 
<DocumentVersion>1.01</DocumentVersion> 
<MerchantIdentifier>my merchant id</MerchantIdentifier> 
</Header> 
<MessageType>Product</MessageType> 
<Message> 
<MessageID>1</MessageID> 
<Product> 
<SKU>SKU-TEST-123</SKU> 
<StandardProductID> 
<Type>ISBN</Type> 
<Value>9781235467899</Value> 
</StandardProductID> 
<LaunchDate>2010-02-17T20:15:58.309+02:00</LaunchDate> 
<ReleaseDate>2010-02-17T20:15:58.309+02:00</ReleaseDate> 
<DescriptionData> 
<Title>My Product</Title> 
<Description>Product Description ...</Description> 
</DescriptionData> 
</Product> 
</Message> 
</AmazonEnvelope> 

我在处理报告了错误:

<Result> 
<MessageID>1</MessageID> 
<ResultCode>Error</ResultCode> 
<ResultMessageCode>8060</ResultMessageCode> 
<ResultDescription>The Product with SKU [SKU-TEST-123] cannot be matched to an existing product for the following reason: (NEW is not allowed;). For more details, see http://sellercentral.amazon.com/gp/errorcode/8060</ResultDescription> 
<AdditionalInfo> 
<SKU>SKU-TEST-123</SKU> 
</AdditionalInfo> 
</Result> 

我应该可以上传新产品,不是吗? SKU是否有任何限制?

+2

您是否已经开始工作?我刚开始使用Amazon Marketplace API,它很糟糕。 – 2011-04-09 19:06:14

+0

对我来说,这是一个帐户本身的问题,我们通过调用支持来解决它。 – Noura 2011-04-27 13:44:55

回答

1

您应该在MessageID后面直接指定OperationType。例如:

<MessageID>1</MessageID> 
    <OperationType>PartialUpdate</OperationType> 
    <Product> 
     <SKU>SKU-TEST-123</SKU> 
     <StandardProductID> 
     <Type>ISBN</Type> 
     <Value>9781235467899</Value> 
     </StandardProductID> 
     <ProductTaxCode>A_GEN_TAX</ProductTaxCode> 
     <DescriptionData> 
     <Title>My product</Title> 
     <Brand>My brand</Brand> 
     <Description>My description</Description> 
     <MSRP currency="USD">24.03</MSRP> 
     <Manufacturer>blah</Manufacturer> 
     <SearchTerms>foo</SearchTerms> 
     <SearchTerms>bar</SearchTerms> 
     <SearchTerms>xyzzy</SearchTerms> 
     </DescriptionData> 
    </Product> 
    </Message> 
+1

从哪里可以看到参数列表? – 2015-09-28 20:42:36