diff options
author | Andy Davidoff <andy+github@disruptek.com> | 2012-08-20 19:25:07 -0400 |
---|---|---|
committer | Andy Davidoff <andy+github@disruptek.com> | 2012-08-20 19:25:07 -0400 |
commit | 1d153e7b972d11aa49d89452829142c7fe37cc57 (patch) | |
tree | e0c025f114249be623cf9b37cc6d253da424b180 /boto/mws | |
parent | 0eab792d010003e214340530dff72d50ab7e253e (diff) | |
download | boto-1d153e7b972d11aa49d89452829142c7fe37cc57.tar.gz |
working GetMatchingProductForId
Diffstat (limited to 'boto/mws')
-rw-r--r-- | boto/mws/connection.py | 9 | ||||
-rw-r--r-- | boto/mws/response.py | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/boto/mws/connection.py b/boto/mws/connection.py index 9d0df755..01081dfb 100644 --- a/boto/mws/connection.py +++ b/boto/mws/connection.py @@ -693,6 +693,15 @@ class MWSConnection(AWSQueryConnection): """ return self.post_request(path, kw, response) + @requires(['MarketplaceId', 'IdType', 'IdList']) + @structured_lists('IdList.Id') + @api_action('Products', 20, 20) + def get_matching_product_for_id(self, path, response, **kw): + """Returns a list of products and their attributes, based on + a list of Product IDs that you specify. + """ + return self.post_request(path, kw, response) + @requires(['MarketplaceId', 'SellerSKUList']) @structured_lists('SellerSKUList.SellerSKU') @api_action('Products', 20, 10, 'GetCompetitivePricingForSKU') diff --git a/boto/mws/response.py b/boto/mws/response.py index b13f974f..751c1557 100644 --- a/boto/mws/response.py +++ b/boto/mws/response.py @@ -546,6 +546,10 @@ class GetMatchingProductResponse(ProductsBulkOperationResponse): pass +class GetMatchingProductForIdResult(ListMatchingProductsResult): + pass + + class GetCompetitivePricingForSKUResponse(ProductsBulkOperationResponse): pass |