您在一個Feed中發送的產品數量沒有限制,但Feed的大小限制爲2,147,483,647個字節。爲了獲得最佳性能,亞馬遜建議將Feed大小保持在10MB以下。 http://docs.developer.amazonservices.com/en_US/feeds/Feeds_SubmitFeed.html
如果其中一個產品未能更新,那麼通常可以通過調用GetFeedSubmissionResult
(Feeds API的一部分)找出原因。
編輯:下面是一個示例_POST_PRODUCT_DATA_
飼料與多個產品。這些消息來自Selling on Amazon Guide to XML中的示例。
<?xml version="1.0" ?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_SELLER_354577</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>1Z-500ABR-FLAT</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value></Value>
</StandardProductID>
<ProductTaxCode>A_GEN_TAX</ProductTaxCode>
<LaunchDate>2005-07-26T00:00:01</LaunchDate>
<DescriptionData>
<Title>Lyric 500 tc Queen Flat Sheet, Ivory</Title>
<Brand>Peacock Alley</Brand>
<Description>Lyric sheeting by Peacock Alley is the epitome of simple and classic elegance. The flat sheets
and pillowcases feature a double row of hemstitching. The fitted sheets fit mattresses up to 21 inches deep.
The sheets are shown at left with tone on tone monogramming, please call for monogramming details and prices.</Description>
<BulletPoint>made in Italy</BulletPoint>
<BulletPoint>500 thread count</BulletPoint>
<BulletPoint>plain weave (percale)</BulletPoint>
<BulletPoint>100% Egyptian cotton</BulletPoint>
<Manufacturer>Peacock Alley</Manufacturer>
<SearchTerms>bedding</SearchTerms>
<SearchTerms>Sheets</SearchTerms>
<ItemType>flat-sheets</ItemType>
<IsGiftWrapAvailable>false</IsGiftWrapAvailable>
<IsGiftMessageAvailable>false</IsGiftMessageAvailable>
</DescriptionData>
<ProductData>
<Home>
<Material>cotton</Material>
<ThreadCount>500</ThreadCount>
</Home>
</ProductData>
</Product>
</Message>
<Message>
<MessageID>2</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>56789</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>B0EXAMPLEG</Value>
</StandardProductID>
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
<DescriptionData>
<Title>Example Product Title</Title>
<Brand>Example Product Brand</Brand>
<Description>This is an example product description.</Description>
<BulletPoint>Example Bullet Point 1</BulletPoint>
<BulletPoint>Example Bullet Point 2</BulletPoint>
<MSRP currency="USD">25.19</MSRP>
<Manufacturer>Example Product Manufacturer</Manufacturer>
<ItemType>example-item-type</ItemType>
</DescriptionData>
<ProductData>
<Health>
<ProductType>
<HealthMisc>
<Ingredients>Example Ingredients</Ingredients>
<Directions>Example Directions</Directions>
</HealthMisc>
</ProductType>
</Health>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
好吧然後你能告訴我一個飼料(XML平面文件)至少有2個產品在它嗎?我試了一下,失敗了,沒有認出第二個產品。感謝您的回答。 – hyptos
當然,我剛剛發佈了一個SoA XML指南中的消息示例。 –
謝謝:)它的工作。 – hyptos