Skip to content

Commit 7de3ab0

Browse files
author
Manuel Rodríguez Guimeráns
committed
Implement missing methods for the GetLowestPricedOffersForASIN and GetLowestPricedOffersForSKU Product APIs.
1 parent 87b7836 commit 7de3ab0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

mws/mws.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,22 @@ def get_lowest_offer_listings_for_asin(self, marketplaceid, asins, condition="An
510510
data.update(self.enumerate_param('ASINList.ASIN.', asins))
511511
return self.make_request(data)
512512

513+
def get_lowest_priced_offers_for_sku(self, marketplaceid, sku, condition="New", excludeme="False"):
514+
data = dict(Action='GetLowestPricedOffersForSKU',
515+
MarketplaceId=marketplaceid,
516+
SellerSKU=sku,
517+
ItemCondition=condition,
518+
ExcludeMe=excludeme)
519+
return self.make_request(data)
520+
521+
def get_lowest_priced_offers_for_asin(self, marketplaceid, asin, condition="New", excludeme="False"):
522+
data = dict(Action='GetLowestPricedOffersForASIN',
523+
MarketplaceId=marketplaceid,
524+
ASIN=asin,
525+
ItemCondition=condition,
526+
ExcludeMe=excludeme)
527+
return self.make_request(data)
528+
513529
def get_product_categories_for_sku(self, marketplaceid, sku):
514530
data = dict(Action='GetProductCategoriesForSKU',
515531
MarketplaceId=marketplaceid,

0 commit comments

Comments
 (0)