amazon-mws - MWS : Is there a limit on the number of messages in an update request?

标签 amazon-mws

我正在尝试更新亚马逊上的产品列表。我正在使用 Feed API 来执行此操作。 我所做的是 - 每半小时我会在我们的网站上编译列表订单,并通过 API 调用发送更新请求。但是我说遇到了这个问题。我的一些请求开始受到限制。在研究中我发现 other people questioning request throttling .这就解释了为什么我不能一次发送超过 15 个请求,因为有一个恢复期。

所以我现在打算做的是在单个提要中发送多个更新请求:

<?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>M_SELLER_354577</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>ASUSVNA1</SKU>
<Quantity>8</Quantity>
<FulfillmentLatency>1</FulfillmentLatency>
</Inventory>
</Message>
<Message>
<MessageID>2</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>ASUS8VM</SKU>
<Quantity>6</Quantity>
<FulfillmentLatency>1</FulfillmentLatency>
</Inventory>
</Message>
</AmazonEnvelope>

我想知道我可以在单个供稿中发送的消息数量是否有限制。

最佳答案

消息数量没有限制,但提要的大小限制为 2,147,483,647 字节。

为了获得最佳性能,亚马逊建议将 Feed 大小保持在 10MB 以下且消息数不超过 30,000 条: http://docs.developer.amazonservices.com/en_US/feeds/Feeds_SubmitFeed.html

关于amazon-mws - MWS : Is there a limit on the number of messages in an update request?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22120234/

相关文章:

python - Amazon MWS Boto 解析 XML 缺失值

python - 如何从 boto 调用返回 XML?

amazon-mws - MWS 订单 API 的限制

amazon-mws - 亚马逊 MWS - 获取产品运输成本

PHP Curl 连接至 Amazon MWS 卖家 API

amazon-mws - 如何通过ASIN列出亚马逊订单

php - 亚马逊 MWS 的 Webhooks

xml - 亚马逊 MWS 订单确认返回错误 25 : We are unable to process the XML feed because one or more items are invalid

php - 使用 php 和 MWS 检索库存

java - 亚马逊 MWS listMatchingProducts 超过 10 个结果?