php-如何在亚马逊MWS中发布产品?
作者:互联网
我使用亚马逊MWS feed API在亚马逊上发布产品,但是这种情况没有发生,并且我正在收到这样的错误.
SKU缺少某些属性:[*****************].有关更多详细信息,请参见http://sellercentral.amazon.in/gp/errorcode/8058
这是xml即时提交. thanx,请只在这里回答我的问题吗?
<?xml version="1.0" encoding="iso-8859-1"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>********</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>98765654356765498776565GTRF546</SKU>
<StandardProductID>
<Type>EAN</Type>
<Value>45201187656</Value>
</StandardProductID>
<ProductTaxCode>A_TOY_GENERALL</ProductTaxCode>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<NumberOfItems>10</NumberOfItems>
<DescriptionData>
<Title>Smartivity EDGE Jurassic Wonders Pack With Many Features </Title>
<Brand>Smartivity</Brand>
<Description>Smartivity EDGE LET’S LEARN and play 1,2,3… set includes 10</Description>
<BulletPoint>Example Bullet Point 1</BulletPoint>
<BulletPoint>Example Bullet Point 2</BulletPoint>
<MSRP currency="INR">410</MSRP>
<Manufacturer>Smartivity Labss Pvt. Ltd.</Manufacturer>
<MfrPartNumber>SMRT1025</MfrPartNumber>
<ItemType>toy-figures</ItemType>
<TargetAudience>Children</TargetAudience>
<TargetAudience>unisex-adult</TargetAudience>
<RecommendedBrowseNode>1350381031</RecommendedBrowseNode>
</DescriptionData>
<ProductData>
<Toys>
<ProductType>
<ToysAndGames>
<Color>Blue</Color>
<ColorMap>Brown</ColorMap>
</ToysAndGames>
</ProductType>
<AgeRecommendation>
<MinimumManufacturerAgeRecommended unitOfMeasure="years">5</MinimumManufacturerAgeRecommended>
</AgeRecommendation>
</Toys>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
解决方法:
您好,您需要添加价格和数量才能完成产品.
试试这两个XML.
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>*********</MerchantIdentifier>
</Header>
<MessageType>Price</MessageType>
<Message>
<MessageID>1</MessageID> bnm
<Price>
<SKU>UNIQUE-ME-87895656587</SKU>
<StandardPrice currency="INR">500</StandardPrice>
</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.01</DocumentVersion>
<MerchantIdentifier>***********</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>UNIQUE-ME-87895656587</SKU>
<Quantity>2</Quantity>
</Inventory>
</Message>
</AmazonEnvelope>
标签:amazon-mws,amazon-web-services,php 来源: https://codeday.me/bug/20191118/2029127.html