Need to update example to use #update api
chifung7 opened this issue · comments
Please update examples to use #update instead of #add. Otherwise, Amazon will reject the requests with the following errors.
<Result>
<MessageID>0</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>90208</ResultMessageCode>
<ResultDescription>[Marketplace : Amazon.com] Purge and replace is not allowed for this feed type.</ResultDescription>
</Result>
This is because #add api would add PurgeAndReplace=true
in url params (even the request has <PurgeAndReplace>false</PurgeAndReplace>
).
mws.feeds.prices.add
mws.feeds.inventory.add
I just changed to use #update instead of #add in my code.
mws.feeds.prices.update
mws.feeds.inventory.update
A little question, do you have the list of categories to update/add a product?
examples should be fixed