Skip to content
This repository was archived by the owner on May 8, 2018. It is now read-only.

Commit 7daab7a

Browse files
committed
Merge pull request #4 from bloodywing/master
GetMatchingProductsForId Support
2 parents 71ad6a3 + c39a259 commit 7daab7a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

mws/mws.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,17 @@ def get_matching_product(self, marketplaceid, asins):
423423
data.update(self.enumerate_param('ASINList.ASIN.', asins))
424424
return self.make_request(data)
425425

426+
def get_matching_product_for_id(self, marketplaceid, type, id):
427+
""" Returns a list of products and their attributes, based on a list of
428+
product identifier values (asin, sellersku, upc, ean, isbn and JAN)
429+
Added in Fourth Release, API version 2011-10-01
430+
"""
431+
data = dict(Action='GetMatchingProductForId',
432+
MarketplaceId=marketplaceid,
433+
IdType=type)
434+
data.update(self.enumerate_param('IdList.Id', id))
435+
return self.make_request(data)
436+
426437
def get_competitive_pricing_for_sku(self, marketplaceid, skus):
427438
""" Returns the current competitive pricing of a product,
428439
based on the SellerSKU and MarketplaceId that you specify.

0 commit comments

Comments
 (0)